React Bits

Stack

Pile of cards you can drag, flick or click through, with thrown cards tucking underneath.

Stack, a React Bits component

Use Stack in your project

Choose JavaScript or TypeScript and plain CSS or Tailwind. Enable JavaScript for the interactive preview, customization controls and source tabs.

npx shadcn@latest add @react-bits/Stack-TS-TW
How to install React Bits components

Related components

  • Circular Gallery

    A curved image gallery you can drag, scroll or tab through, with cards that open to the full image.

  • Lanyard

    Swinging 3D badge on a stretchy woven band that you can drag, throw or click to flip.

  • Card Swap

    A 3D stack of cards that sends the front card to the back on a timer, or when you fling it.