MCP
Get Pro
All components

Card swap Pro

A deck of picture cards standing in 3D. Every few seconds the front card drops away and slips in at the back while the rest step forward on springs. Drag the front card down to deal it yourself; point at the deck to hold it.

Open in editor
The rider

Point at the deck to hold it. Drag the front card down.

Character
Playful

Add it to your app

$npx velvo add card-swap

For Claude Code, Cursor or any project with a terminal.

Use it for

  • Collections, moodboards and featured work.
  • A hero that shows more than one picture.

Not for

  • Pictures people need to compare side by side.

Props

Read from the component’s own TypeScript, so it’s always current.

PropTypeDefault
cardsRequiredSwapImage[]
everynumber3200
widthnumber240
heightnumber310

Make it better with a skill

Add one to your agent and it uses Card swap the way it was designed.

Product demosFree

Turns it into a demo for your landing page that reads as the real product.

$npx velvo skill product-stage
Read the skill
Page structureFree

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Read the skill

Specs

Category
Media
Tier
Pro
Built with
React and TypeScript
Files
22
Size
491 KB
Needs
framer-motion
Install
npx velvo add card-swap
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo Pro licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

mediaspringgesturepayments3dproreact
NextGlyph card