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

Checkout screen Pro

A checkout that adds up as you go: the order, a tip, a promo code, a total that rolls to its new value, and a slide to pay.

Ouvrir dans l’éditeur

Corner Coffee

Your order

Flat whiteOat milk£3.60
Almond croissantWarmed£3.20
Sparkling water330 ml£1.80

Add a tip

Total with tip£9.89
Total£8.60
Total£8.60
Slide to pay £8.60
Caractère
Joueur

Ajoutez-le à votre app

$npx velvo add screen-checkout

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

À utiliser pour

  • Orders, bookings and one-off payments.

Pas pour

  • Subscriptions: use the paywall screen.

Props

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

PropTypePar défaut
merchantstring'Corner Coffee'
items{ name: string; note?: string; price: number; tone?: string }[][{ name: 'Flat white', note: 'Oat milk…
curstring'£'
onPay(total: number) => Promise<unknown> | void

Specs

Category
Screens
Tier
Pro
Built with
React and TypeScript
Files
25
Size
538 KB
Needs
framer-motion
Install
npx velvo add screen-checkout
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

screenspaymentsproreact
SuivantPrompt box