Dev Design Library

Floating button group

Separate soft buttons in a quiet tray, with one shared highlight that morphs from button to button as you move, and a pressed state that settles in place.

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

Categories

More from Arc Library