Components

3D carousel

A ring of cards in 3D. Drag to spin it with inertia — it snaps the nearest card to the front.

Paste it into ChatGPT, Claude, Cursor or v0.
cards8
spacing1.20
autoplay (s)0.0

Usage

React
import { Carousel3D } from '@vizzele/react';

<Carousel3D itemWidth={220} itemHeight={300} label="Projects">
  {projects.map((p) => <ProjectCard key={p.id} {...p} />)}
</Carousel3D>

Props

PropTypeDefaultDescription
itemWidth / itemHeightnumber220 / 300Card size.
spacingnumber1.15Ring spacing.
autoplaynumber0Seconds per card (pauses on hover).
onIndexChange(i: number) => void—Front card changes.

Accessibility

  • aria-roledescription="carousel" with labelled slides; ←/→ on the focused stage, plus visible prev/next buttons.