@patrick91/stickers
Stickers you can peel
Peelable, draggable stickers for React. Grab the sticker below by an edge and pull, then stick it anywhere on the page.

On touch screens, hold a sticker briefly before dragging. Your browser remembers where you leave it.
Jump to the React exampleMore cuts of patrick.wtf
Five other takes on the main sticker. Each uses a different PNG; swap the artwork by changing src.
Stackedpatrick-wtf-stacked.png · gloss
Comic burstpatrick-wtf-burst.png · gloss
Name tagpatrick-wtf-nametag.png · matte
Terminalpatrick-wtf-terminal.png · gloss
Foilpatrick-wtf-foil.png · holo
The Swiss cuts
Eight more, after the International Typographic Style: one grotesque, a grid, and nothing but red, black and paper white. Set in Inter Tight, standing in for Helvetica. Each is patrick-wtf-swiss-….png in the kit.
Red fieldswiss-red · matte
On endswiss-vertical · matte
Big pswiss-p · matte
Ringsswiss-arcs · matte
Diagonalswiss-diagonal · matte
Dot gridswiss-dots · matte
Signswiss-sign · matte
Markswiss-mark · gloss
They live in the page
Each sticker is an ordinary element in the layout. It scrolls with the text, wraps with it and scales with its box. One shared canvas draws every sticker on the page, so adding more costs almost nothing.
Any image with a transparent background works. The white die-cut border, the bevel, the shadow and the hit area are all worked out from its alpha channel, which is why a logo like Strawberry's needs no preparation.


Fourteen materials
The Strawberry logo on every stock. Ink is not opaque, so the stock shows through it the way it does on a real sheet. Cut to the artwork with no border. Each is a value of finish.
Vinylwhite, gloss laminate
Holographiccolour that drifts as you move
Transparentclear film, the page shows through
Glittercoloured specks that wink
Mirrorchrome that bends the room
Pixie dustfine shimmer over pastel bands
Brushed aluminiumlong grain, soft highlight
Prismatictiles of little facets
Reflectivelights up under your cursor
Kraft paperbrown, uncoated, flecked
Glow in the darkglows green on a dark page
Matteuncoated white paper
Low-tack vinyllifts easily, leaves no mark
Hi-tack vinylclings, leaves more behind
Use it in React
Wrap the page in one provider and give each sticker a transparent image. Use a stable id to remember its position. The package isn’t published yet.
import { StickerProvider, Sticker } from '@patrick91/stickers';
export function Page() {
return (
<StickerProvider persist="my-stickers">
<Sticker
id="planet"
src="/stickers/planet.png"
width={150}
alt="Ringed planet"
finish="holo"
/>
</StickerProvider>
);
}