CheckboxField
CheckboxField wraps a Checkbox input and its corresponding Label. It allows users to select one option from a set.
Overviewโ
Loading...
Importโ
Import the component from @faststore/ui
import { CheckboxField } from '@faststore/ui'
Import Styles
import '@faststore/ui/src/components/molecules/CheckboxField/styles.scss'
Usageโ
Loading...
Propsโ
Design Tokensโ
Local token | Default value/Global token linked |
---|---|
--fs-checkbox-field-gap | var(--fs-spacing-1) |
Customizationโ
For further customization, you can use the following data attributes:
data-fs-checkbox-field