Back to components
ComponentCardFree

Bouncing Card Fan React component

A squared-up deck of photo cards that springs open into a fan on hover with a bouncy, centre-out stagger; the card under the pointer rises and nudges its neighbours aside, a click pops one up as the pick, and it opens with a tap on touch screens.

About the Bouncing Card Fan component

Bouncing Card Fan keeps a handful of options tucked away as a neat deck, then springs them open like a hand of cards when you point at it. The cards bounce into place one after another from the middle out, the one under your pointer lifts and nudges its neighbours aside, and clicking a card pops it up as your pick.

It's a playful way to choose between a few things — collections, plans, moods, categories — and it works by tap on phones and with the keyboard too.

When to use it

Use it for picking one of three to seven visual options: portfolio collections, playlist moods, product lines, gift cards or onboarding choices.

With more options, or when people need to read details before choosing, a grid or list is easier to scan.

Installation

Add the Bouncing Card Fan component to your project with the shadcn CLI. It lands in components/bouncing-card-fan.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/bouncing-card-fan

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Card components

Swinging ID Badge
Free
Distorted Photo Card
Free
Frosted App Icons
Free
Card Shuffle Stack
Free
Document Folder Stack
Free
Pixelate Hover Card
Free