All components

Switch

On/off toggles with a sliding thumb in solid and raised track variants.

Variants

solid
raised

Sizes

xs
sm
md
lg

Install

Source

components/ui/base-ui/switch.tsx

Examples

Installable blocks built with Switch — real use cases, delivered as source you own.

Model Picker

Settings menu for choosing an inference model — Fast switch, Effort submenu, and a searchable combobox for the model list.