Day 42

Interactive

Rub Reveal

Scratch card to reveal a code

Not on Framer yet? You need a Framer account to paste components. Start your Framer site here →

Rub Reveal Framer component preview

What it does

A scratch card for discount codes, launch dates or hidden content. Rub it with the mouse or a finger and only the parts you scratch are revealed. Nothing clears by itself.

What you can change

  • Real scratch feel: a round brush erases the cover exactly where you rub, on mouse, pen and touch

  • Never auto-clears: the Reveal button shows everything, Reset covers the card again

  • Hidden layer: big title + line of text, or connect any Framer layer as Hidden Content

  • Cover colour or your own cover image, optional dot pattern, cover label

  • Brush size, height, max width, radius, all colours and two fonts; static on the canvas, respects reduced motion

Create a free website with Framer, the website builder loved by startups, designers and agencies.