Pixel Boss Sale
Flash sale drawn as a pixel boss fight.
When to use it
- Flash sales, Singles Day or Black Friday pages where everyone sells out the stock together
- Community goals where hitting a sales count unlocks a deeper discount, shown as a fight instead of a progress bar
Watch out
- Keep HP and discounts on your server; onAttack resolves with the damage of that order and throws to cancel, so the block never drops HP on a failed order
- Two to four discount markers read best; more crowd together at 375px
- The buy button and every result are real text, and screen readers hear the damage, the HP left and any unlocked discount
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/pixel-boss-sale
Similar blocks
- Pro
- Pro
- Pro
- Pro
- Pro