Components
SwitchField
SwitchField is a token-driven Sigil component in the forms and inputs group.
Import
import { SwitchField } from "@sigil-ui/components";Preview
Usage
<SwitchField label="Notifications" description="Receive product updates." defaultChecked />CLI
npx @sigil-ui/cli add switch-fieldToken Integration
SwitchField follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.