Toggle Field
Toggle Field wraps a Toggle input and its corresponding Label.
Overview
Import
Import the component from @faststore/ui
import { ToggleField } from '@faststore/ui'
Import Styles
import '@faststore/ui/src/components/molecules/ToggleField/styles.scss'
Usage
<ToggleField id="toggle-field-example" label="Toggle Label" />
Props
Name | Type | Description | Default |
---|---|---|---|
Coming Soon |
Customization
For further customization, you can use the following data attributes:
data-fs-toggle-field
data-fs-toggle-field-label