ProPress
Checkout Button
Pay button that, on success, prints a thermal receipt with items and totals and a Paid line dated with the payment day.
When to use it
- The final Pay or Place order button on a checkout page
- One-click buy flows where a printed receipt confirms the purchase
Watch out
- onPay must resolve only after your payment provider confirms; reject it to show the error state
- The receipt repeats what you pass in items and amount, so send the same totals the server charged
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/checkout-button
Similar blocks
- Pro





