Why Add a Scratch Card to Your Website?
Turn passive visitors into engaged participants with hidden rewards
Create Irresistible Curiosity
A hidden prize behind a scratchable surface is almost impossible to ignore. Visitors instinctively want to reveal what is underneath, giving you guaranteed engagement that no banner ad can match.
Gate Prizes Behind Actions
Require visitors to enter their email, share on social media, or complete a purchase before they can scratch. You collect valuable leads or drive conversions while visitors enjoy the thrill of the reveal.
Works Beautifully on Every Device
The scratch interaction is powered by touch and mouse events, delivering a satisfying reveal experience on desktop, tablet, and phone. The card scales responsively and looks sharp on any screen size.
Add a Scratch Card in 3 Easy Steps
From idea to live widget on your website in under a minute
Describe It
Tell our AI what prize to reveal, how the overlay should look, and any gating behavior you want.
Refine It
Adjust the overlay texture, reveal content, and animations by chatting with the AI until it's perfect.
Embed It
Copy one line of code and paste it into your site. Your scratch card is instantly live.
Works With Every Website Builder
Embed your scratch card on any platform that supports custom HTML
One card, every platform
MightyWidgets generates a single embed code that works everywhere. Whether your site runs on WordPress, Shopify, Squarespace, or plain HTML, your scratch card will look and work exactly the same. No platform-specific plugins needed.
- WordPress
- Shopify
- Squarespace
- Wix
- Webflow
- Weebly
- Ghost
- Custom HTML Sites
Frequently Asked Questions
Everything you need to know about scratch card widgets
What is a scratch card widget?
A scratch card widget is an interactive element that displays a hidden message, prize, or image beneath a scratchable overlay. Visitors drag their finger or mouse across the surface to gradually reveal the content underneath — just like a physical scratch-off lottery ticket. It adds a gamified layer to promotions, giveaways, and reveals on your website.
How does the scratch effect work technically?
The scratch effect uses an HTML canvas element layered over the prize content. As the visitor drags across the canvas, pixels in the overlay are erased using compositing operations, progressively revealing the content beneath. The effect is hardware-accelerated and runs at 60fps on modern browsers.
Can I customize what is revealed underneath?
Absolutely. The revealed content can be a coupon code, promotional message, image, video, or any HTML content. Just tell the AI what you want visitors to see when they scratch, and it sets up the hidden layer for you.
Can I set a scratch threshold before revealing fully?
Yes. You can define a percentage threshold — for example, once 60% of the overlay is scratched away, the remaining overlay fades out to fully reveal the prize. This prevents visitors from having to meticulously scratch every corner.
Will a scratch card widget slow down my website?
No. MightyWidgets loads asynchronously so it never blocks your page from rendering. The widget code is lightweight and served from a global CDN. Your page loads first, then the scratch card appears — visitors never experience a delay.
How do I add a scratch card to my website?
Sign up for a free MightyWidgets account and describe the scratch card you want in plain English — your prize content, overlay design, and reveal behavior. The AI builds it for you. Ask for adjustments until it looks perfect, then publish. You'll get a single line of embed code to paste into any page on your site.
Does the scratch card work on mobile devices?
Yes. The scratch card is fully responsive and touch-optimized. Visitors can scratch with their finger on phones and tablets just as naturally as they would with a mouse on desktop. The card automatically scales to fit any screen size.
Is MightyWidgets free to use?
You can create and customize widgets for free with our Free plan. Credits are used when your published widget loads on a visitor's browser and when you use AI features. Upgrade to a paid plan for more credits, widgets, and features. Top-up credit packs are also available and never expire.
Ready to Build Your Scratch Card?
Create an interactive scratch-to-reveal widget in under a minute. No coding required, no credit card needed.
Get Started Free


