Forms & inputs Switch

Components

Switch

An immediate on/off toggle.

Default

Off by default.

Choice card, invalid & size

You must enable this to continue.

Tooltip & icon

Tooltip: wrap the switch in a TooltipTrigger span so hovering reveals its label. Icon: pair an icon-only switch with flanking list / grid icons — sized sm and default — with a tooltip standing in for the text label.

Markdown for agents: /design/switch.md · spec: /design.md