MCP
Get Pro
All components

Swap card Pro

Trade one thing for another. Type what you pay and what you get rolls to match, tap the arrow and the two sides trade places with a half turn, pick either coin from its pill. The rate refreshes on a little clock.

Open in editor
You pay$2,559.38
You receive2,551.7$2,551.70
1 ETH = 3,412.5 USDC0.3% fee

Type an amount, flip the sides, pick a coin.

Character
Playful

Add it to your app

$npx velvo add swap-card

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

Use it for

  • Exchanges, wallets and currency converters.

Not for

  • Prices that need a full order book.

Props

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

PropTypeDefault
coinsCoin[]COINS
feenumber0.003
onReview(q: { pay: number; from: string; to: string; get: number }) => void

Make it better with a skill

Add one to your agent and it uses Swap card the way it was designed.

Paywalls that convertPro

Turns it into an honest paywall that people trust and App Review accepts.

Comes with ProRead the skill
Colour and hierarchyFree

Picks colours that keep it readable and calm, in light and dark.

$npx velvo skill colour-and-hierarchy
Read the skill

Specs

Category
Money
Tier
Pro
Built with
React and TypeScript
Files
22
Size
497 KB
Needs
framer-motion
Install
npx velvo add swap-card
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

moneypaymentstypographytimeproreact
NextCard swap