A two-state button that can be either on or off.
import { Toggle } from '@/components/ui/toggle-1'; import { Italic } from 'lucide-react'; export default function ToggleOutline() { return ( <Toggle variant="outline" aria-label="Toggle italic"> <Italic /> </Toggle> ); }
Part of ReUI — browse the full library on 21st.dev.