carouselcn: a composable React carousel built with Tailwind CSS and shadcn/ui that uses CSS transitions for all slide movement.
Key features:
- No Framer Motion or external animation runtime
- Copy the source into your project and own it completely
- Horizontal and vertical orientation
- Loop, autoplay, drag, swipe, and keyboard navigation
- Controlled mode via an
onIndexChangecallback -
useCarouselanduseCarouselAutoplayhooks for direct state access. If you're already on a shadcn/ui project, it drops into your existingcomponents/uifolder with no extra setup.
👉 Blog Post
👉 GitHub Repo
👉 Live Demo
Top comments (0)