A two-state button that can be toggled on or off.
import { Toggle } from "@/components/ui/component"; export default function Particle() { return ( <div className="flex items-center justify-center w-full min-h-screen bg-background"> <Toggle size="sm" variant="outline"> Small </Toggle> </div> ); }
Part of coss — browse the full library on 21st.dev.