Launch week50% off a year of AuteurSee plans
SpacesGet Pro
All components

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.

Character
Playful

Add it to your app

$npx velvo add card-form

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

Use it for

  • Taking a card in your own checkout.

Not for

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

Props

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

PropTypeDefault
amountRequiredstring
onPayRequired(card: { number: string; name: string; exp: string; cvc: string }) => Promise<unknown>
tonestring'linear-gradient(135deg,#1c1c2e,#3a2f6…

Make it better with a skill

Add one to your agent and it uses Card form 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
25
Size
518 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
NextPrice toggle