Stage 14 · Component

Sticker

A tilted, double bordered box for the thing you want picked up.

Live

Regular

Everything else in the group.

Reasoning

Why it exists

Offers and callouts need a container that feels like an object. The double border and the slight tilt come from die cut stickers, with two decals pinned to the corner.

Featured

The featured variant fills with orange and switches its text to ink, for the one option you want chosen. Use it once per group.

Leave it out when

The content is long form. Tilted paragraphs are tiring to read past a few lines.

Props

PropTypeWhat it does
asHTMLTagThe element to render. Defaults to div.
featuredbooleanThe filled variant.
tiltleft | right | noneDirection of the tilt. Defaults to left.
paddingregular | tightInner spacing. Defaults to regular.

Sourcepackages/ui/src/components/Sticker.astro