A control that allows the user to toggle between checked and not checked.
npx shadcn-solid@latest add switch
npm install @kobalte/core
import { Switch, SwitchControl, SwitchThumb } from "@/components/ui/switch";
<Switch> <SwitchControl> <SwitchThumb /> </SwitchControl> </Switch>