Browse the docs

WordSticker & Doodle

Words lettered in Sketchpop and cut out like a sticker, plus little marker doodles to go with them. Design one in the playground's Lettering tool and copy the component.

Server componentWCAG AANew

Live example

Plop!Squish!All clear

Change every prop live in the playground.

Props

WordSticker

PropTypeDefaultWhat it does
childrenrequiredstringnoneThe words. Keep it short: a word or two reads best.
classNamestringnoneExtra class on the sticker.
jitternumber2How wobbly the letters are (max tilt per letter, in degrees). Same words, same wobble.
sizenumber48Font size in px.
styleCSSPropertiesnoneInline styles on the sticker, applied over the ones size, tone and tilt set.
tiltnumber0Rotation in degrees.
tone"ink" | "tomato" | "mustard" | "mint" | "periwinkle" | "bubblegum" | "paper"mustardFill color under the ink line.

Doodle

PropTypeDefaultWhat it does
kindrequired"sparkle" | "burst" | "star" | "heart"noneWhich shape: star, heart, sparkle or burst.
classNamestringnoneExtra class on the svg.
sizenumber48Width and height in px.
styleCSSPropertiesnoneInline styles on the svg; a transform here replaces the one tilt sets.
tiltnumber0Rotation in degrees.
tone"ink" | "tomato" | "mustard" | "mint" | "periwinkle" | "bubblegum"tomatoFill color.

Use it well

DoUse it for a word or two of personality: an empty state, a celebration, a section mark.
Don'tSet body text or long labels in it; the die-cut border is for short, loud words.

Accessibility

  • The words are read once; the three stacked layers are hidden from screen readers.
  • Doodles are decorative (aria-hidden) and never take focus.
  • Same words, same wobble: the jitter is seeded by the text, so it matches on the server and in the browser.
Five stamps!

All aboard.

You took the whole tour. Here's Holo Pip, a foil sticker for riders who finish. It's in your playground tray now, for good.