Toggle
- from @ouro
A button that stays pressed until it is pressed again, such as Bold in a text toolbar.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @ouro/toggleComponent source
No live preview has been built for this component yet.
Registry dependencies6
- @ouro/lib-appearance-hints
- @ouro/lib-class-name-check
- @ouro/lib-cn
- @ouro/lib-env
- @ouro/lib-touch-target
- @ouro/lib-use-dev-messages