About
An image carousel that autoplays with motion and swipe support, built on Embla Carousel and shadcn's carousel primitive.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Autoplay Image Carousel to your project and fits it to your theme.
Code
How Autoplay Image Carousel is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CarouselComponent from "@/components/ui/carousel4";
export default function CarouselDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<CarouselComponent />
</div>
);
}








