Dev Design Library

Hover rotate refresh

Refresh button whose icon rotates a full 360° on each click.

Hover rotate refresh preview
Library
FLX UI
Framework
React
Type
block
License
AGPL-3.0
Dependencies
lucide-react
Install
pnpm dlx shadcn@latest add @flx/button-14
Files
  • registry/patterns/button/button-14.tsx
  • src/components/ui/button.tsx
  • src/lib/utils.ts
Source
https://github.com/felipemenezes098/ui-flx

Categories

More from FLX UI