Animated
Card Swipe
A stack of cards that responds to swipe gestures, using speed to advance pages and move through the set.
Card Swipe is a real, MIT-licensed React + Tailwind animated component from the open-source Watermelon UI library, in its interaction set. Run the install command above with the shadcn CLI and it drops the component's actual source straight into your project.
It depends on motion, '@hugeicons/react', '@hugeicons/core-free-icons', so make sure those are installed too.
The code you install is the component's own source — once it's in your repo, it's yours to restyle.
| Category | Animated |
|---|---|
| Library | Watermelon UI |
| Subcategory | Interaction |
| Dependencies | motion, '@hugeicons/react', '@hugeicons/core-free-icons' |
npx shadcn@latest add https://registry.watermelon.sh/r/card-swipe.jsonHow to use it
- Run the install command above — the shadcn CLI drops the real component files into your project.
- Install the dependencies listed below it, if any.
- Import the component and restyle it with your own Tailwind tokens.
Compiled and written by VintuxAI from public sources.
← Back to UI Components