- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Switch
A control that allows the user to toggle between checked and not checked.
Was this example helpful?
Usage#
API Reference#
This component is based on the Radix UI Switch primitive.
Prop | Type | Default |
---|---|---|
size | "base" |
Was this page helpful?
Examples#
Small#
Was this example helpful?
Disabled#
Was this example helpful?
Checked#
Was this example helpful?
Checked Disabled#
Was this example helpful?