Skip to Content

Toggle

Toggle example: a two-state button that fills when pressed. Offers default and outline variants in small, default and large sizes, and the variants are exported for reuse.

pnpm dlx shadcn add @01orbital/toggle

Dependencies

npm: @base-ui/react, class-variance-authority, cn. The CLI installs them for you.

No other registry pieces.