DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Carousel
  3. Carousel Autoplay
MarkdownShare

Shadcn Carousel Autoplay

Carousel with autoplay plugin. Built by composing Card, Carousel. Uses embla-carousel-autoplay alongside the shadcn primitives. A free, open source shadcn carousel example you can install with npx shadcn@latest add @reui/c-carousel-5 and edit as your own code.

Carousel with autoplay plugin

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

Best for: Square photos that advance by themselves every 2 seconds through the Autoplay plugin, arrows kept

When to use

  • Photo galleries and featured slides shown one at a time, moved by swipe, arrow buttons or a timer
  • Rows or columns of cards with several in view, sized per breakpoint or peeking at the next one
  • Media viewers where a thumbnail strip or a row of dots tracks the current slide and jumps to any one

When not to use

  • Slides that move only when the viewer swipes or presses an arrow: use the Carousel Basic example
  • A rotating set of customer testimonials with star ratings and avatars: use the Review blocks
  • A shop page pairing a photo gallery with a buy box and size and color pickers: use the Product Detail blocks
  • A storefront section of shop collections with hover browse buttons: use the Category Card blocks

Agent notes

  • Autoplay sets only delay: it has no pause control, wraps to slide 1 after the last, and stops for good once a slide is pressed
  • Every slide is a picsum.photos placeholder built with Array.from; map your own images and alt text from a real array
  • Where CarouselPrevious and CarouselNext are placed, they sit 3rem outside the slides at either end, so leave room or move them through className
  • Carousel reacts only to ArrowLeft and ArrowRight, vertical ones included, and only while focus sits on a control inside it

Third-party API docs

  • Embla Carousel Autoplay v8: API reference, docs
  • Embla Carousel v8: API reference, docs, through shadcn Carousel
Markdownhttps://reui.io/components/carousel/c-carousel-5.md
MCPget_example("c-carousel-5")
Installnpx shadcn@latest add @reui/c-carousel-5
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Carousel Autoplay

  • Card
  • Carousel

Dependencies

  • embla-carousel-autoplay

About Shadcn Carousel Autoplay

Carousel with autoplay plugin. Built by composing Card, Carousel. Uses embla-carousel-autoplay alongside the shadcn primitives. A free, open source shadcn carousel example you can install with npx shadcn@latest add @reui/c-carousel-5 and edit as your own code.

What You Can Build With Shadcn Carousel Autoplay

  • Composes Card, Carousel, so it drops into any project already using those components.
  • Install it with the shadcn CLI: npx shadcn@latest add @reui/c-carousel-5
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Carousel Examples

  • Basic Basic carousel with single item
  • Vertical Vertical carousel orientation
  • Multiple Items Carousel with multiple items visible
  • Responsive Basis Carousel with responsive basis
  • Centered Alignment Carousel with centered slide alignment
  • Custom Spacing Carousel with custom spacing
  • Image Overlays Carousel with images and overlays
  • Thumbnail Strip Carousel with thumbnail navigation
  • Overlay Thumbnails Carousel with overlay thumbnail navigation
  • Dots Navigation Carousel with dots navigation and content overlays

Related Shadcn Component Categories

  • Cascader

    Nested multi-level selection with drill-down navigation, breadcrumbs, search and custom rows.

  • Chart

    Open-source shadcn chart components for analytics dashboards, KPI tracking, and reports.

  • Checkbox

    Open-source shadcn checkbox components for multi-select forms, settings preferences, and table selection.

  • Code Block

    Open-source shadcn code block components with Shiki syntax highlighting for AI chat, streaming agent output, diff review, and documentation.

  • Collapsible

    Open-source shadcn collapsible components for expandable sections, detail rows, and progressive disclosure.

  • Color Picker

    Open-source shadcn color picker components for brand settings, theme editors, label colors, and design tools.

Frequently Asked Questions

When should I use Shadcn Carousel Autoplay?

Use it for square photos that advance by themselves every 2 seconds through the Autoplay plugin, arrows kept.

Shadcn Carousel as a whole fits:

  • Photo galleries and featured slides shown one at a time, moved by swipe, arrow buttons or a timer
  • Rows or columns of cards with several in view, sized per breakpoint or peeking at the next one
  • Media viewers where a thumbnail strip or a row of dots tracks the current slide and jumps to any one

For slides that move only when the viewer swipes or presses an arrow, use the Carousel Basic example. For a rotating set of customer testimonials with star ratings and avatars, use the Review blocks. For a shop page pairing a photo gallery with a buy box and size and color pickers, use the Product Detail blocks. For a storefront section of shop collections with hover browse buttons, use the Category Card blocks.

How do I install Shadcn Carousel Autoplay?

Run npx shadcn@latest add @reui/c-carousel-5. The CLI copies the source into your project, so you own the code and can edit it freely.

Is Shadcn Carousel Autoplay free to use?

Yes. Every ReUI component example is open source and free for personal and commercial projects.

Which components does Shadcn Carousel Autoplay use?

It composes Card, Carousel. The shadcn CLI installs those alongside the example.
PreviousResponsive BasisNextCentered Alignment

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App ShellAdded 4 new App Shell blocks
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedNew Advanced category with 3 Data Grid blocks
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area Chart
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users

Templates

  • E-commerce
  • SaaS
  • Dashboard
  • Landing
  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K