MCP
Passer à Pro
Tous les composants

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.

Ouvrir dans l’éditeur
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.

Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add swap-card

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Exchanges, wallets and currency converters.

Pas pour

  • Prices that need a full order book.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

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

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Swap card comme prévu.

Paywalls that convertPro

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

Incluse dans ProLire la skill
Colour and hierarchyGratuit

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

$npx velvo skill colour-and-hierarchy
Lire la 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
SuivantCard swap