Sticky Deck: How It Works
- from @keyframeui
- by KeyframeUI <https://keyframeui.com>
Stacking Cards on Scroll example, How It Works: An AI agent's four steps, each card with a piece of real product UI. The step list beside the deck follows the front card through `onActiveChange`, and clicking a step scrolls there through `apiRef`. Hover an edge that peeks out above the front card and it lifts; click it to bring that card back. A take on the stacking cards (card stack) and scroll animation (on scroll). Fits features, testimonials and pricing sections.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @keyframeui/sticky-deck-demoRegistry dependencies1
Packages0
No npm packages are installed with it.
