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
| Prop | Type | What it does |
|---|---|---|
itemsrequired | readonly RaceNumber[] | One card each: sector, number, caption, title, body and decal color. |
labelsrequired | RaceNumberLabels | The turn over and turn back hints, so the copy stays with the page. |
id | string | Prefix for the ids that link each card to its text. |