Kedhareswer Naidu

Tilted Card Image Carousel

Galleries 96

About

Tilted card image carousel for React: square photos cascade down a slanted line, each card turning and shrinking away from the upright front card, and they swing into place one after another as you move. Looping autoplay, captions, dark stage, a glass prev/next pill with dots, keyboard, wheel and swipe, reduced-motion aware.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Tilted Card Image Carousel to your project and fits it to your theme.

Code

How Tilted Card Image Carousel is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import TiltCascadeCarousel, { type TiltCascadeItem } from "@/components/ui/tilt-cascade-carousel"

const u = (id: string) =>
  "https://images.unsplash.com/photo-" + id + "?q=80&w=600&auto=format&fit=crop&ixlib=rb-4.1.0"

const photos: TiltCascadeItem[] = [
  { title: "cable car station", src: u("1774565784366-72db806a40f9") },
  { title: "light-colored house", src: u("1776031312164-f22c0edbdfb9") },
  { title: "cherry blossoms", src: u("1777763517503-05d74f2e0008") },
  { title: "bottles of drinks", src: u("1774651458632-17df84bad45e") },
  { title: "tree-lined road", src: u("1778360508753-dcb2afbeadc2") },
  { title: "train window view", src: u("1777221895589-2f81579e0dca") },
  { title: "sunlight streams", src: u("1777763517666-b9fd2c9b6a0c") },
  { title: "seagulls", src: u("1777221895551-844a3c1243b3") },
  { title: "pink flowers", src: u("1777221895297-9878eb5e53f5") },
  { title: "paddleboarding", src: u("1777908724790-2ec0d06d8ff7") },
]

export default function Demo() {
  // w-full is load-bearing: 21st centres every demo in a flex wrapper, and a
  // flex item left at width:auto shrinks to fit its contents.
  return (
    <div className="w-full">
      <TiltCascadeCarousel items={photos} />
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    2.6K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    1.8K
  • Morph Gallery

    Morph Gallery

    1.4K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    1.1K
  • Glass Cards

    Glass Cards

    716
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    703
  • Particle Animation

    Particle Animation

    643
  • Tiger Tear Reveal

    Tiger Tear Reveal

    637

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    41
  • Animated Gallery

    Animated Gallery

    1.4K
  • Hero Section 6

    Hero Section 6

    881
  • Editorial Collage Hero

    Editorial Collage Hero

    428
  • 3D Parallax Unfurling Gallery

    3D Parallax Unfurling Gallery

    976
  • Layout Grid

    Layout Grid

    823
  • File Upload

    File Upload

    18
  • Image Gallery

    Image Gallery

    90