Semana de lançamento50% de desconto em um ano de AuteurVer planos
EspaçosAssinar o Pro
Todos os componentes

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.

Abrir no editor
••••••••••••••••
NameYour nameExpiresMM/YY
Security code•••

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

Caráter
Brincalhão

Adicione ao seu app

$npx velvo add card-form

Para Claude Code, Cursor ou qualquer projeto com terminal.

Use para

  • Taking a card in your own checkout.

Não use para

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

Props

Lidas do próprio TypeScript do componente, então estão sempre atualizadas.

PropTipoPadrão
amountObrigatóriastring
onPayObrigatória(card: { number: string; name: string; exp: string; cvc: string }) => Promise<unknown>
tonestring'linear-gradient(135deg,#1c1c2e,#3a2f6…

Melhore com uma skill

Adicione uma ao seu agente e ele usa Card form do jeito que foi pensado.

Paywalls that convertPro

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

Vem com o ProLer a skill
Colour and hierarchyGrátis

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

$npx velvo skill colour-and-hierarchy
Ler a 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
PróximoPrice toggle