Неделя запускаСкидка 50% на год AuteurТарифы
Все компоненты

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.

Характер
Игривый

Добавить в приложение

$npx velvo add card-form

Для Claude Code, Cursor и любого проекта с терминалом.

Подходит для

  • Taking a card in your own checkout.

Не подходит для

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

Пропсы

Прочитаны прямо из TypeScript компонента, поэтому всегда актуальны.

ПропсТипПо умолчанию
amountОбязательныйstring
onPayОбязательный(card: { number: string; name: string; exp: string; cvc: string }) => Promise<unknown>
tonestring'linear-gradient(135deg,#1c1c2e,#3a2f6…

Лучше с навыком

Добавьте навык агенту, и он будет использовать Card form так, как задумано.

Paywalls that convertPro

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

Входит в ProОткрыть навык
Colour and hierarchyБесплатно

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

$npx velvo skill colour-and-hierarchy
Открыть навык

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
ДальшеPrice toggle