Switch
A toggle switch component for boolean settings.
Examples
Basic Switch
Props
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | - | Label for the switch |
description | string | - | Description text |
size | "sm" | "md" | "lg" | "md" | Size of the switch |
A toggle switch component for boolean settings.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | - | Label for the switch |
description | string | - | Description text |
size | "sm" | "md" | "lg" | "md" | Size of the switch |