Overview
Forms & inputs
Search for a command to run or a page to navigate to.
import { Switch } from "@strongtie/design-system/switch"Not installed yet? Add the package to your app:
All components accept standard HTML attributes and React props.
Don't use a switch for a value the user submits with a form — use a Checkbox, which carries a checked state into form data and supports an indeterminate third state. Switches imply the change takes effect the moment it is flipped, so they belong in settings and preference panels, not inside a save-and-submit flow.