Back to components
ComponentCarouselFree

Diagonal Carousel React component

Square cards fan out diagonally into a stacked deck, each inactive card rotates and offsets away from the active one, with paper/glass themes.

About the Diagonal Carousel component

Diagonal Carousel is a free carousel of square cards that fan out diagonally into a stacked deck: each card away from the active one rotates, shifts down and shrinks. Clicking a card or pressing the arrow keys brings it to the front.

It has paper and glass themes, three title positions, and props for card size, radius, rotation angle, vertical offset, inactive scale and the starting card.

When to use it

Use it for a playful set of images: album art, product shots, team photos, travel snaps or project thumbnails, where a fanned deck feels more personal than a grid.

Installation

Add the Diagonal Carousel component to your project with the shadcn CLI. It lands in components/diagonal-carousel.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/diagonal-carousel

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Carousel components

Arc Mood Carousel
Animated Carousel
Glide Carousel
Free
Tilted Carousel
Free
SEO-ready
Carousel Slider
Hotspot Carousel