basecn
Components

Toggle

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

Installation

pnpm dlx shadcn@latest add https://basecn.dev/r/toggle.json
or

If you are using a namespaced registry, you can use the following command:

pnpm dlx shadcn@latest add @basecn/toggle

On this page