Pro unlocks unlimited templates48:00:00Get Pro →

Scratch to Win

A prize card under metallic foil. Drag to scratch - once enough of the layer clears, the win unlocks with a copyable code. Five looks: rose foil, green lottery, brass coin, indigo strip, navy ticket. Reduced motion gets a one-tap Reveal.

Foil

Warm rose cream in light, deep rose night in dark - scratch once for SCRATCH25.

Loading…

Lottery

Green ticket foil with emerald chrome - same scratch gesture.

Loading…

Coin

Amber brass foil - gold-coin energy under the scratch layer.

Loading…

Strip

Indigo security strip - cool purple-blue foil and CTA.

Loading…

Ticket

Navy + gold VIP ticket - event-stub chrome under gold foil.

Loading…

Props

PropTypeDefaultDescription
look"foil" · "lottery" · "coin" · "strip" · "ticket""foil"foil rose · lottery green · coin brass · strip indigo · ticket navy+gold.
offerstring"25% off"Prize shown under the foil and after reveal.
codestring"SCRATCH25"Promo code copied by Copy / Claim.
revealAtnumber0.42Fraction of foil that must be cleared to auto-reveal (0–1).
hintstring"Scratch the foil to uncover your prize"Copy shown while the foil is still intact.
revealLabelstring"Reveal prize"Button label when reduced motion skips the scratch gesture.
ctaLabelstring"Claim your win"Primary button after the prize is revealed.
delayMsnumber380Auto-open delay in milliseconds.
position"fixed" · "absolute""absolute"Use fixed on live sites; absolute inside a relative demo stage.
onReveal() => void-Fires when the foil clears or Reveal is pressed.