区块

Checkout 01

Checkout on one taped page: contact, delivery (choice cards that show what each costs right now, with no address asked for a pick-up) and a card checked as you type (Luhn, expiry, grouped digits), beside a basket with quantity steppers, a promo code and a till receipt that rewrites itself with the delivery, discount and VAT. A failed try lists what needs a look with buttons to the fields; placing the order swaps the page for a thank-you with the receipt stamped PAID. The text and forms sit on sheets of their own, so it looks right on paper or on the desk.

  • Pro
  • commerce
  • checkout
  • receipt
  • form
  • validation
在新标签页打开

安装

terminal
npx shadcn@latest add @wobko-pro/checkout-01

需要先在环境变量里设置许可证密钥。 配置 Pro 许可证

文件

  • checkout-01/components/checkout-01-data.ts
  • checkout-01/components/checkout-01-form.tsx
  • checkout-01/components/checkout-01-summary.tsx
  • checkout-01/page.tsx
Pro

预览对所有人开放,源码需要许可证密钥才能安装。

查看定价