Docs
Toggle
Toggle
A two-state button that can be either on or off.
Installation
npx shadcn-solid@latest add toggle
Usage
import { ToggleButton } from "@/components/ui/toggle";
<ToggleButton>Toggle</ToggleButton>
A two-state button that can be either on or off.
npx shadcn-solid@latest add toggle
import { ToggleButton } from "@/components/ui/toggle";
<ToggleButton>Toggle</ToggleButton>