Skip to content
Container

Carousel

Horizontally scrollable content strip.

Carousel

Horizontally scrollable content strip.

Examples

Default

Demo.tsxtsx
import { Card, Carousel } from '@var-ui/react';

<Carousel label="Featured themes" itemWidth="220px">
  <Card title="Default">Scroll-snap slide.</Card>
  <Card title="Forest">Scroll-snap slide.</Card>
  <Card title="Rose">Scroll-snap slide.</Card>
</Carousel>

Props

Accessibility

Built on React Aria Components where applicable. Astro and HTML demos use core scroll-snap markup with reduced interactivity (no nudge buttons).