Examples
Default
Controlled
All Variants
Uncontrolled
Props
Switch
A toggle switch for boolean on/off states. Built on Radix UISwitch.
For a labelled switch with helper text, see SwitchField.
"small" | "default"
default:"default"
Size variant of the switch.
Exported types
Also exported from@fanvue/ui: SwitchProps, SwitchSize.
Setup: Installation · Theming