Skip to content
ReactHive

Sticker Bomb

Click anywhere and a sticker slaps down where you clicked, so the section fills up with a collage of your own. The next sticker rides along under the pointer. Hover one and its edge lifts; grab it and drag to peel it back, and pull far enough to tear it off: it comes away showing its paper back and drops off the page.

BackgroundsReactHive OriginalNo packages, just React and Tailwind CSS
Sticker BombBackgrounds

How It Works

A peel is one vector: from the sticker's edge opposite the pull to where that edge has been pulled. The crease runs square to it, halfway along. The stuck part is the sticker clipped to the far side of the crease; the flap is a second layer, the sticker's paper back (its outline as a mask, the picture faintly through it), clipped to the near side and mirrored across the crease with one CSS matrix. A gradient along the pull puts a bright edge on the fold. Hovering springs the vector to a small lift on the edge nearest the pointer; dragging sets it; past a point it keeps growing on its own while the sticker flies off under gravity.

Use It

Install it with shadcn, or copy the 2 files into one folder, then use it like this. Change a setting in the demo and the example picks it up. Works with Next.js (App Router) and any React 19 project on Tailwind CSS v4.

npx shadcn@latest add @reacthive/sticker-bomb
Example
<StickerBomb className="h-svh">
  <h1>Leave Your Mark.</h1>
</StickerBomb>
  • It's a section: give it a height and put your content inside as children; it sits over the stickers, so it always reads. Links, buttons and anything marked data-bomb-ignore work as usual; a click anywhere else sticks a sticker on, even over the copy.
  • It comes with 22 stickers of its own (stickers.ts), cut out with a white border. Pass stickers with your own image URLs to use those instead; transparent PNG or SVG works best, and the picture's own shape is used for its paper back.
  • initial is how many go on when the section is first seen, limit the most that stay (phones keep 12), past which the oldest peels itself off; size scales them all.
  • On touch, a tap sticks one on and a sideways drag peels; an up or down drag scrolls the page as usual. With reduced motion stickers go on without the drop and come off with a fade.
  • No packages, no canvas: every sticker is an image moved with transforms, and only the one being peeled is clipped.

Sticker Bomb, Answered.

Free to use, what it needs and where it came from.

Your Next Site Starts with a Live Demo.

Click around first. What you see is exactly what you download.

Start a Project

Tell us what you're making. A few lines is plenty; we'll ask the rest on a call.

What do you need?
Rough budget (optional)

Or email projects@reacthive.dev