Switch
Toggle switch for boolean values with smooth animation.
Basic Usage
A single toggle with reactive state display.
OFF
Settings Panel
Multiple toggles for application preferences.
OFF
ON
OFF
Privacy Controls
Security and privacy toggles for user accounts.
Disabled
Visible
Notification Preferences
Fine-grained notification control.
Feature Flags
Enable or disable experimental features.
In a Form
Switch toggles combined with form inputs.
Usage
Props
| Prop | Type | Default | Description |
|---|---|---|---|
bind | binding | - | Two-way boolean binding |
label | text | "" | Label text next to switch |