Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Card form Pro

The card fills in as you type, works out whose card it is, and turns over for the code on the back.

••••••••••••••••
NameYour nameExpiresMM/YY
Security code•••

Try 4242 4242 4242 4242, then tap the code field.

Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add card-form

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

À utiliser pour

  • Taking a card in your own checkout.

Pas pour

  • Where Apple Pay or a payment sheet will do. Fewer fields wins.

Props

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

PropTypePar défaut
amountObligatoirestring
onPayObligatoire(card: { number: string; name: string; exp: string; cvc: string }) => Promise<unknown>
tonestring'linear-gradient(135deg,#1c1c2e,#3a2f6…

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Card form 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
25
Size
519 KB
Needs
framer-motion
Install
npx velvo add card-form
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

moneypaymentsformtypographyproreact
SuivantPrice toggle