RadioField
RadioField wraps a Radio 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 { RadioField } from '@faststore/ui'
Import Styles
import '@faststore/ui/src/components/molecules/RadioField/styles.scss'
Usage​
Loading...
Props​
Design Tokens​
Local token | Default value/Global token linked |
---|---|
--fs-radio-field-gap | var(--fs-spacing-1) |
Customization​
For further customization, you can use the following data attributes:
data-fs-radio-field