CheckboxGroup
CheckboxGroup are used when multiple choices may be selected in a series of
options. CheckboxGroup composes Checkbox
component.
Imports
import {
CheckboxGroup,
useCheckboxGroupProps,
useCheckboxGroupState,
CheckboxGroupWrapper,
CheckboxShowMore,
} from "@renderlesskit/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 18, 2022