Selection
Checkbox
An independent binary choice. The tick draws rather than appears, which makes the state change legible at a glance in a long list where several rows may change at once.
npx shadcn@latest add @minflow/checkboxWhere to use it
- Independent options where any combination is valid.
- Bulk selection in lists and tables.
- Never for mutually exclusive choices; that is a radio or a segmented control.
Variations
Standard
The default single checkbox with a label.
Group
Several related options that can be combined. Keep them on one left spine so the labels scan as a column.
Disabled
When an option exists but is unavailable in the current context, and hiding it would be more confusing than showing it.