Components · Forms
Switch
A slide switch for settings that take effect at once. The label sits beside it.
jsx
import { Switch } from '@andeus/ui';
Switch
Props
| Prop | Type | Default | |
|---|---|---|---|
| checked | boolean | false | Controlled with onChange; or pass defaultValue / defaultChecked. |
| label | string | ReactNode | — | |
| led | boolean | true | Status light beside the switch. |
| disabled | boolean | false |