Compact selection
MultipleJoins selected neighbors in a row.
Selection and removable chips with animated grouping.
Joins selected neighbors in a row.
Joins selections across wrapped rows.
Keeps each selection separate.
Copy setup includes installation, variant props, and the current selection. Controls preserve component behavior.
npx shadcn@latest add https://civilian.studio/r/chip.jsonThe registry includes the selection group, removable list, motion helpers, and required CSS.
Use controlled values for application state. Keep accessible names and stable item values. For removable context, provide a fallback focus target when the final item is removed.