Files
ersatztv/design-system/components/forms/Switch.prompt.md
T
2026-07-02 07:37:00 +02:00

300 B

Switch — instant on/off toggle for settings and table filters ("Show disabled", "Show filler"). Track turns accent when on.

<Switch checked={showDisabled} onChange={setShowDisabled} label="Show disabled" />

Props: checked, onChange(next), label, size (sm·md), disabled.