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-formFor 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
amountRequiredstringonPayRequired(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 skillColour and hierarchyFree
Picks colours that keep it readable and calm, in light and dark.
$
Read the skillnpx velvo skill colour-and-hierarchySpecs
- 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.