Dev Design Library

Expandable Action Bar

Compact icon actions that expand into labeled controls on hover or focus with shared layout motion.

Expandable Action Bar preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
clsx, motion, tailwind-merge
Install
npx shadcn@latest add @spectrumui/expandable-action-bar
Files
  • components/motion/expandable-action-bar.tsx
  • lib/hooks/use-dismiss.ts
  • lib/hooks/use-hover-gesture.ts
  • lib/hooks/use-tap-gesture.ts
  • lib/touch.ts
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI