Switch
A boolean toggle that binds to a variable. Useful for opt-in toggles, terms acceptance, or feature preferences.
Insert image: A Switch component on the canvas in the toggled-on state with its active color, alongside a text label
Properties
| Property | Description |
|---|---|
switchSize | sm, md, or lg. |
activeColor | Color when toggled on. |
inactiveColor | Color when toggled off. |
The switch’s state is stored as a boolean in the bound variable — true when on, false when off.
Last updated on