Toggle
- from @keyline-ui
One on/off button (Base UI Toggle, aria-pressed): pressed floods yellow and fills the lamp; icon toggles show a floor keyline. Control or cell, alone or as a cell of a field frame. ToggleGroup composes its cells.
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 @keyline-ui/toggleComponent source
No live preview has been built for this component yet.
Registry dependencies4
- @keyline-ui/keyline
- utils
- @keyline-ui/keyline-motion
- @keyline-ui/keyline-render