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

Shadcn Carousel Basic

Basic carousel with single item. Built by composing Card, Carousel. A free, open source shadcn carousel example you can install with npx shadcn@latest add @reui/c-carousel-1 and edit as your own code.

Basic carousel with single item

For AI Agents

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

Best for: The minimal setup with no options: 5 square photos one per view, arrow buttons shown from the sm breakpoint up

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

  • Several photos side by side in view at once: use the Carousel Multiple Items example
  • A static list row with media, a title and actions that never slides: use the Item component
  • 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

  • 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 v8: API reference, docs, through shadcn Carousel
Markdownhttps://reui.io/components/carousel/c-carousel-1.md
MCPget_example("c-carousel-1")
Installnpx shadcn@latest add @reui/c-carousel-1
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in Carousel Basic

  • Card
  • Carousel

About Shadcn Carousel Basic

Basic carousel with single item. Built by composing Card, Carousel. A free, open source shadcn carousel example you can install with npx shadcn@latest add @reui/c-carousel-1 and edit as your own code.

What You Can Build With Shadcn Carousel Basic

  • 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-1
  • Open source and free, with the full source on this page to copy or adapt.

More Shadcn Carousel Examples

  • Vertical Vertical carousel orientation
  • Multiple Items Carousel with multiple items visible
  • Responsive Basis Carousel with responsive basis
  • Autoplay Carousel with autoplay plugin
  • 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 Basic?

Use it for the minimal setup with no options: 5 square photos one per view, arrow buttons shown from the sm breakpoint up.

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 several photos side by side in view at once, use the Carousel Multiple Items example. For a static list row with media, a title and actions that never slides, use the Item component. 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 Basic?

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

Is Shadcn Carousel Basic free to use?

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

Which components does Shadcn Carousel Basic use?

It composes Card, Carousel. The shadcn CLI installs those alongside the example.
NextVertical

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