Docs
Toggle
Toggle
A two-state button that can be either on or off.
Installation
npx shadcn-solid@latest add toggleUsage
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 toggleimport { ToggleButton } from "@/components/ui/toggle"<ToggleButton>Toggle</ToggleButton>