Animated
Carousel Slider
A draggable card carousel that rotates and scales cards with springy motion as you swipe through them.
Carousel Slider 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/carousel-slider.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