A two-state button that can be either on or off with smooth transitions and multiple variants.
import { Toggle } from "@/components/ui/toggle"; export default function DemoOne() { return <Toggle>Toggle me</Toggle>; }
Part of HextaUI — browse the full library on 21st.dev.