A control that allows the user to toggle between checked and not checked with smooth animations and multiple variants.
import { Switch } from "@/components/ui/switch"; export default function DemoOne() { return <Switch defaultChecked />; }
Part of HextaUI — browse the full library on 21st.dev.