Toggle
A two-state button that can be either on or off.
Preview
Installation
Install the package using your preferred package manager:
npx shadcn@latest add @airy/toggleUsage
Import the component from the package:
import { Toggle } from "@/registry/ui/toggle"Then use it in your application:
<Toggle />