Stage 08 · Component

Poster

The wordmark cut in two tones along a tilted seam.

Live

GianCastle

Senior Product Engineer.

Reasoning

Why it exists

The first screen has one job, to be recognizable. The wordmark fills the width, split between the plain and contrast tones the way a frame is painted in two halves.

How it fits

The size comes from the number of characters, so any wordmark fills the width without a breakpoint table. On narrow screens the lines stack and the same math runs on the longest line.

Leave it out when

The page is not a front page. Inner pages use the masthead, which carries the same wordmark at a size that leaves room for content.

Props

PropTypeWhat it does
linesrequiredreadonly string[]The wordmark, one string per line when stacked.
headingrequiredstringThe real h1 for assistive technology. The drawn wordmark is decorative.
headingTagHTMLTagElement for that heading. Defaults to h1, change it when the page has its own.
stickerstringA ringed chip pinned to the seam.
eyebrowstringA chip before the chevrons.
slotscorner, tagline, actionsControls in the corner, the line under the wordmark and the action row.

Sourcepackages/ui/src/components/Poster.astro