CheckboxGroup
CheckboxGroup are used when multiple choices may be selected in a series of
options. CheckboxGroup composes Checkbox
component. It uses Ariakit's
Checkbox component internally.
Imports
import {
CheckboxGroup,
CheckboxGroupWrapper,
CheckboxShowMore,
} from "@adaptui/react-tailwind";
💡
A complex component that supports customization as per the composition guide.
Usage
CheckboxGroup sizes
Sizes can be set using the size
prop. The default size is md
. The available
sizes are: sm
md
lg
CheckboxGroup Stack
CheckboxGroup can be arranged vertical
or horizontal
CheckboxGroup Show More
CheckboxGroup with more Checkboxs can be made hidden by adding maxVisibleItems
prop
API Reference
Prop | Type | Default |
---|---|---|
size | union | md |
stack | string | vertical |
maxVisibleItems | number | null |
Last updated on July 27, 2022