Edu Calvo

Coverflow Carousel

Galleries 91

About

A 3D perspective carousel that flips, scales and stacks cards like Apple's iTunes coverflow, with drag/swipe, keyboard navigation and optional autoplay.

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

Code

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

Usage.tsx

import CoverflowCarousel from "@/components/ui/coverflow-carousel";

const items = [
  {
    id: "1",
    image:
      "https://cdn.21st.dev/assets/mirror/cd/cdd2e87247dbfc2f2bdcbb281d15a429b2c59bb092c6d226da5eb616da6340cb.jpg",
    alt: "Mountain lake at sunrise",
  },
  {
    id: "2",
    image:
      "https://cdn.21st.dev/assets/mirror/70/70352deee3acd2161b8bdb21af04fcccaac8ca1df01e4e10417908176e085c94.jpg",
    alt: "Forest path",
  },
  {
    id: "3",
    image:
      "https://cdn.21st.dev/assets/mirror/03/03372a06a52943fef3dadaebbd47e5920bca508b986f3d88c1ccb62c070a0545.jpg",
    alt: "Desert dunes",
  },
  {
    id: "4",
    image:
      "https://cdn.21st.dev/assets/mirror/45/45e982e887f501f679b3ff76c179dfa5efaf8dd65e6f7f7d6c9187a3fd9f3cb7.jpg",
    alt: "Coastal cliffs",
  },
  {
    id: "5",
    image:
      "https://cdn.21st.dev/assets/mirror/12/123317fd601a38d1ff7dd97b70d77401a95ebec52a8291c58a6f29149330f67c.jpg",
    alt: "Valley overlook",
  },
];

export default function CoverflowCarouselDemo() {
  return (
    <div className="flex w-full items-center justify-center py-10">
      <CoverflowCarousel items={items} loop />
    </div>
  );
}

Dependencies

More by Edu Calvo

View all
  • Scrollable Card Stack

    Scrollable Card Stack

    233
  • Siri Orb

    Siri Orb

    160
  • AI Task List

    AI Task List

    158
  • Cursor Follow

    Cursor Follow

    153
  • Pixel Flow Field

    Pixel Flow Field

    137
  • Agent Avatar

    Agent Avatar

    126
  • Gravity Stars

    Gravity Stars

    110
  • Otp Input

    Otp Input

    91

More in Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    39
  • Animated Gallery

    Animated Gallery

    1.4K
  • Editorial Collage Hero

    Editorial Collage Hero

    422
  • Elastic Gallery

    Elastic Gallery

    896
  • Hero Section 6

    Hero Section 6

    876
  • Layout Grid

    Layout Grid

    820
  • Tilted Grid Hero

    Tilted Grid Hero

    1.4K
  • 3D Carousel

    3D Carousel

    2.5K