FlipStack

A stylish and animated card stack UI for showcasing content in layered views.

Isabelle Carlos
Lana Akash
Ahdeetai
Isabella Mendes
Meera Patel

Installation

npx shadcn@latest add https://scrollxui.dev/registry/flipstack.json 

Usage

import FlipStack from "@/components/ui/flipstack";
<FlipStack
  cards={[
    { id: 1, content: "Card One" },
    { id: 2, content: "Card Two" },
    { id: 3, content: "Card Three" },
  ]}
/>

API Reference

FlipStack

A stylish and animated card stack UI for showcasing content in layered views.

Props

PropertyTypeDefaultDescription
cardsFlipStackCard[]id
Array of cards to display in the stack.
FlipStackCard.idnumberrequired
Unique identifier for the card. Used as React key and to manage animations.
FlipStackCard.contentReactNodeoptional
Custom content to render inside the card. Can be text, images, or any JSX element.

Built withby Ahdeetai.