CellSelector
Grid of selectable cells with icons, titles, and optional subtitles. Supports single or multiple selection with visual feedback and hover states.Import
Props
Array of selectable cell options
Selection mode:
single for radio behavior, multiple for checkboxesCurrently selected options (controlled component)
Callback fired when selection changes, receives array of selected options
Callback fired when individual cell is clicked
Visual design variant
Custom styles for the container
Custom styles applied to each cell
OptionProps
Unique identifier for the option
Main title displayed in the cell
Optional subtitle displayed below the cell
Icon displayed at the top of the cell
Disables cell interaction and applies opacity
Usage
Notes
- Cells display with hover effects and scale animation on click
- Selected cells show primary color border
- Disabled cells have reduced opacity and no interaction
- In
multiplemode, clicking toggles selection - In
singlemode, only one cell can be selected at a time