Switch

Binary toggle switch supporting `--app` accent or `--done` (`good`) semantic tracks.

Default & Large Switch (md / lg)

Uses the active app --app accent when checked; accessible via role="switch".

Semantic good Tone & Settings Rows

The good prop applies --done green ink for connected channels and live agent toggles.

WhatsApp Channel
Connected and receiving messages
Daily Digest
Sent every morning at 09:00

API Reference (Props)

NameTypeDefaultDescription
checked*boolean—Controlled checked state.
onChange(next: boolean) => void—Handler invoked with the next boolean state.
size'md' | 'lg''md'Size of the switch track and thumb.
goodbooleanfalseUses semantic `--done` green track when active instead of `--app`.
disabledbooleanfalseDisables the toggle control.