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

Scratch Card

Scratch-off card with a hatched cover (pointer and touch), a Reveal all button for keyboard and screen readers and a quiet result line naming the prize.

When to use it

  • Instant win promotions and reward reveals
  • Campaign games where the result should feel earned

Watch out

  • Decide win and prize on the server before rendering; scratching only reveals it
  • Keep the Reveal all button so keyboard and screen reader users can play

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/scratch-card
Scratch Card, React Component | SunUI