Award list
- How
- A list of outcomes, each on its own row with a rule above it, with the star mark hidden at the shipped size.
- When
- For outcomes that are statements rather than numbers. Where the outcome is a number, use the stat list instead.
- Where
- Inside a band, after the block it closes. Two or three rows.
In code
Section titled “In code”src/components/ui/AwardList.astro.
---import AwardList from '../../components/ui/AwardList.astro';---<AwardList items={[ 'Brand, magazine, enewsletters, and responsive site shipped together', 'Built in under 8 weeks, from a standing start', ]}/>| Prop | Type | Default | What it does |
|---|---|---|---|
items |
array of strings | required | One outcome per row. Inline HTML is allowed. |
The star
Section titled “The star”The mark is a separate element, not part of the text, and it is hidden at the shipped size. It exists so the row can carry a mark where the design calls for one without that symbol ending up inside the sentence a screen reader reads.
Content
Section titled “Content”Each row is a statement that could stand on its own in a conversation. It says what happened, not how it felt about it. Anything that needs a caveat goes in the prose above with the caveat attached, not into a row here.
Do
- Write each row as a complete, checkable statement.
- Keep it to two or three rows.
- Use the stat list when the outcome is a number.
Don’t
- Put the star character into the text.
- List a claim that needs a caveat to be accurate.
- Use it as a general purpose bullet list.
Checks before you ship
Section titled “Checks before you ship”- A screen reader reads the statement without a stray symbol.
- Every row is a statement someone could verify.
- Two or three rows, not six.
- Numeric outcomes are in a stat list instead.