SunUI
Founding$79 lifetime updates till Jan 11Claim a seat
ProPress

Coupon Apply

A saved coupon in a checkout summary.

When to use it

  • Checkout or cart summaries where shoppers apply a coupon they already saved
  • Campaign checkouts where seeing the coupon turn into the lower total is the moment that sells

Watch out

  • Return the discount amount from onApply on your server; the component never works out a percentage itself
  • Pass appliedDiscount after a refresh so an applied coupon does not replay
  • holo is multi-hue; use silver or spot if the store follows a single brand colour

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.

See pricing

Install with your license

  1. 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. 2. Put your license key in .env.local.
    $ SUNUI_LICENSE_KEY=your-license-key
  3. 3. Install the block.
    $ npx shadcn@latest add @sunui-pro/coupon-apply
Coupon Apply, React Component | SunUI