Examples
Default
Second Option Selected
Controlled
All Sizes
Disabled
Props
SwitchToggle
A binary segmented toggle rendered as aradiogroup. The active option is highlighted with a sliding pill indicator. Supports both controlled and uncontrolled usage.
The two options to toggle between (exactly two required).
Exported types
Also exported from@fanvue/ui: SwitchToggleOption, SwitchToggleProps, SwitchToggleSize.
Setup: Installation · Theming