Dev Design Library

Action swap

Swap an action label while preserving its place and intent.

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

Categories

More from Arc Library