Switch — Playground
size
State
<label>
<input kuiSwitch type="checkbox" checked />
<span>Enable notifications</span>
</label>| Name | Type | Default | Description |
|---|---|---|---|
| size | 'xs' | 'sm' | 'md' | 'lg' | — | Switch size mapped to Kikita switch tokens. |
| invalid | boolean | — | Marks the switch invalid outside a field error state. |
| id | string | undefined | — | Explicit id override. Inside kui-field, the field id is used when omitted. |
Inputs verified against @kikita-labs/ui v1.6.1 public typings.