Open experiment
Coupon reveal card
An interaction-rich promotion card that lets pointer users scratch away a tiled foil layer. A prominent native button reveals the same content instantly for keyboard and assistive-technology users.
Lab tested Responsive Dark mode Interactive
- Version
- 1.0.0
- Updated
- 2026-08-02
- Dependencies
- Zero
<article class="cmp-coupon-reveal">
<header><span>Sunday surprise</span><b>One use only</b></header>
<div class="cmp-coupon-reveal__ticket">
<section>
<span>You unlocked</span><strong>30% OFF</strong>
<p>Use code <b>GLOW30</b></p>
</section>
<div class="cmp-coupon-reveal__foil" aria-hidden="true"><span>Scratch to reveal</span></div>
</div>
<div class="cmp-coupon-reveal__actions">
<button type="button" data-reveal>Reveal offer</button
><button type="button" data-copy disabled>Copy code</button>
</div>
<p class="cmp-coupon-reveal__status" aria-live="polite">Scratch the foil or use Reveal offer.</p>
</article>
No runtime reactions detected Open in Editor
Validated in the lab
Experiment report
- Schema and source files passed
- Responsive test passed
- Keyboard test passed
- No console errors
Component ingredients
- Dependencies
- None
- Browser support
- Current Chrome, Current Edge, Current Firefox, Current Safari
- Version
- 1.0.0
- Last tested
- 2026-08-02
Accessibility notes
- A keyboard-accessible button reveals the offer without scratch gestures.
- The coupon code and terms remain real text underneath the decorative foil.
- Copy success and reveal progress are announced politely.
License: MIT License for open-source use, modification, and distribution.