- Docs
- Switch
Switch
Allows users to toggle between two options or states, typically representing on/off
Installation
Examples
Disabled
Label
Controlled
Props
Prop | Type | Description | Default |
---|
variant | solid soft | To change the variant | solid |
color | default primary secondary success error | To change the color | default |
size | sm md lg | To change the size | md |