Components
Loading preview...
A two-state button that can be either on or off.
npx shadcn@latest add https://21st.dev/r/sean0205/toggle-1import { Toggle } from '@/components/ui/toggle-1';
import { Bold } from 'lucide-react';
export default function Component() {
return (
<Toggle aria-label="Toggle italic">
<Bold className="h-4 w-4" />
</Toggle>
);
}