Dev Design Library

Toggle group

A row of icon or text toggles, single or multiple: one pressed fill glides between options, or each fades in on its own and neighbours join, as in a formatting toolbar.

Toggle group preview
Library
Arc Library
Framework
React
Type
ui
License
MIT
Dependencies
motion
Install
npx shadcn@latest add https://uiarc.dev/r/toggle-group.json
Files
  • registry/components/toggle-group/toggle-group.tsx
  • registry/components/toggle-group/toggle-group.module.css
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library