Switch
Inputs · upstream shadcn/ui, Framer theme
A control that allows the user to toggle between checked and not checked.
import { Switch } from "@/components/ui/switch"
<Switch />Tokens it uses
--backgroundfill#000000--primaryfill#FFFFFF--destructiveerror#FF3366--inputfill#212121--ringfocus ring#0099FFShape and type: --ds-focus-width --ds-focus-style --ds-focus-offset --ds-disabled-opacity