Toggle

A two-state button that can be either on or off.

Variant:
Code
import { Toggle } from 'https://deno.land/x/testing_shadcn_ui_for_deno@0.1.2/components/toggle.tsx' export function ToggleDemo() { return ( <Toggle aria-label="Toggle italic" variant="default"> <IconBold class="h-4 w-4" /> </Toggle> ) }