Stage 05 · Component

Race numbers

Results pinned like a bib: the number first, the story on the back.

Live

Reasoning

Why it exists

A list of achievements reads as a wall of text. A bib says one thing loudly and keeps the details for whoever gets close. The tilt and the scattered chevrons come from how numbers sit on a jersey, never perfectly straight.

Use it for

A handful of results where each one has a figure worth printing big. The back holds two or three sentences.

Leave it out when

The number is not the point, or the detail needs more than a short paragraph. The card grows to its taller face, but a long back makes the front look empty.

Props

PropTypeWhat it does
itemsrequiredreadonly RaceNumber[]One card each: sector, number, caption, title, body and decal color.
labelsrequiredRaceNumberLabelsThe turn over and turn back hints, so the copy stays with the page.
idstringPrefix for the ids that link each card to its text.

Sourcepackages/ui/src/components/RaceNumbers.astro