deleted

Scroll Stack

Cards 17

About

Here is Scroll Stack component

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

Code

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

Usage.tsx

import React from "react";
import ScrollStack, { ScrollStackItem } from "@/components/ui/scroll-stack";

const DemoScrollStack = () => {

  return (
    <div className="w-full h-screen">
      <ScrollStack
        itemDistance={120}
        baseScale={0.8}
        itemScale={0.05}
        rotationAmount={3}
        blurAmount={1.5}
        onStackComplete={() => console.log("Stack complete!")}
      >
        {[...Array(6)].map((_, i) => (
          <ScrollStackItem key={i}>
            <div className="text-2xl font-bold text-center text-white bg-blue-500 h-full flex items-center justify-center rounded-[30px]">
              Card #{i + 1}
            </div>
          </ScrollStackItem>
        ))}
      </ScrollStack>
    </div>
  );
};

export default DemoScrollStack;

Dependencies

More by deleted

View all
  • Splash Cursor

    Splash Cursor

    1.3K
  • Star Border

    Star Border

    728
  • Tilted Scroll

    Tilted Scroll

    433
  • Waves Background

    Waves Background

    362
  • Squares Background

    Squares Background

    326
  • Prism

    Prism

    218
  • Grid Motion

    Grid Motion

    183
  • Circular Gallery

    Circular Gallery

    173

More in Cards

View all
  • Statistics Card 2

    Statistics Card 2

    263
  • Stats cards with links

    Stats cards with links

    39
  • Card

    Card

    70
  • Course Design Cards

    Course Design Cards

    1.1K
  • The Item one

    The Item one

    3
  • Card Studio

    Card Studio

    7
  • Statistics Card 7

    Statistics Card 7

    291
  • Item

    Item

    10