Switch
A control that allows users to toggle between checked and unchecked states.
Installation
npx shadcn@latest add @tetra-ui/switchUsage
import { Switch } from "@/components/ui/switch";<Switch />A control that allows users to toggle between checked and unchecked states.
npx shadcn@latest add @tetra-ui/switchimport { Switch } from "@/components/ui/switch";<Switch />