Organism · stable · v1.0.0 · owner: Site system lead · contract 19 of 20 points (open: figma)
Do and don't
Do: Results
Rendered by facts-list.tsOpen example: Facts · Do: Results Use the full-page example to follow page links.
Do: Two facts
Rendered by facts-list.tsOpen example: Facts · Do: Two facts Use the full-page example to follow page links.
Don't: Long leads
Rendered by facts-list.tsOpen example: Facts · Don't: Long leads Use the full-page example to follow page links.
Don't: No detail
Rendered by facts-list.tsOpen example: Facts · Don't: No detail Use the full-page example to follow page links.
Rules
| Rule | Why | Check |
|---|---|---|
| Every fact has a bold lead. | Readers scan leads. | Review: Owner |
API
| Prop | Type | Required | Default | What it does |
|---|---|---|---|---|
facts | list | Yes | Facts: lead and html. |
Contract details
The full contract: identity, anatomy, variants, states, tokens, layout, motion, accessibility, content, tests
Identity
| Aspect | Value |
|---|---|
| Id | facts-list |
| Layer | Organisms |
| Category | content |
| Owner | Site system lead |
| Status | stable |
| Version | 1.0.0 |
| Source | apps/showcase/site/system/organisms/facts-list.ts (private repository; the contract and the render function are this one module) |
| Version | Date | Change |
|---|---|---|
| 1.0.0 | 2026-10-26 | Facts as one module: its markup moved out of the page builder (scripts/site) into the system. |
Use when
- Health check and survey results. Why: Facts with leads scan fast.
Do not use when
- On marketing pages. Why: Marketing pages use templates' own cells.
Anatomy
| Part | What it is |
|---|---|
| root | ol.facts |
| item | li: b.fact-lead and p |
Made of: text.
Used in: health-check, survey.
Variants
| Variant | When | Why |
|---|---|---|
| default | Wherever the page declaration places it. | One shape per job keeps pages predictable. |
States
| State | Rendered or not applicable |
|---|---|
| default | default |
| hover | Not applicable: The facts is not interactive, so it has no hover state. |
| focus-visible | Not applicable: The facts does not take focus; links and buttons inside it carry their own focus ring. |
| active | Not applicable: The facts cannot be pressed. |
| disabled | Not applicable: The facts has nothing to disable. |
| loading | Not applicable: The facts is rendered at build time and is complete when the page loads. |
| empty | Not applicable: The facts is not rendered without content; the builder skips it. |
| error | Not applicable: The facts shows no data that can fail. |
| current | Not applicable: The facts has no current item. |
| visited | Not applicable: The facts is not a link. |
| expanded | Not applicable: The facts does not open or close. |
Tokens
| Part | Token |
|---|---|
| lead.font | --type-strong |
| item.rule | --rule-hair --line |
| --facts-list-margin-space-8 | var(--space-8) |
| --facts-list-gap-space-5 | var(--space-5) |
| --facts-list-padding-top-space-4 | var(--space-4) |
| --facts-list-border-top-rule-hair | var(--rule-hair) |
| --facts-list-border-top-line | var(--line) |
| --facts-list-padding-space-8 | var(--space-8) |
| --facts-list-border-top-ink | var(--ink) |
| --facts-list-gap-space-4 | var(--space-4) |
| --facts-list-border-top-color-line | var(--line) |
Layout
| Aspect | Value |
|---|---|
| breakpoints | Required review at 390, 768, 1024 and 1440 px; execution is not implied by this declaration; columns stack under 768 px; the wrap keeps a 16 px gutter on phones. |
| wrapping | Text wraps; nothing scrolls sideways. |
| textExpansion | Japanese runs 20 to 40% longer; headings break between phrases (jaBreaks) and blocks grow downwards. |
Spacing and rhythm
| Aspect | Value |
|---|---|
| internal | --space-5 per fact. |
| external | In its panel. |
| rhythm | After the result. |
Motion
| Aspect | Value |
|---|---|
| None | No intrinsic element animation. The optional claude-entrance consumer profile may translate below-fold structure once (20px, --dur-weave, --ease-enter, --stagger); reduced motion disables it. This preserved baseline entrance is separate from element playback. |
Runtime and reuse
Render-only element; mount any registered child enhancements separately. Preserve required Site CSS, fonts, responsive and locale rules from nativeElement.
Accessibility passport
| Aspect | Value |
|---|---|
| role | a landmark or list, as stated in its parts |
| name | Its visible text |
| keyboard | Links and buttons inside, in reading order. |
| focus | The --focus ring on every link and button inside. |
| screenReader | Read in source order; decorative weaving is aria-hidden. |
| contrast | Ink on cotton 14:1; text on every dye field 4.5:1 or better (checked by check-brand). |
| target | Links and buttons are 44 px tall. |
Content
| Slot | Length | Voice |
|---|---|---|
| lead | 5 words | The fact |
Good: “Tokens exist but are bypassed.”
Bad: “Insight”
Japanese: From the app's i18n tables.
Icons and illustrations
None: this element uses no icon or illustration of its own.
Decisions and exceptions
- None.
Usage
1 uses across the built pages (measured by npm run site:system).
Tests
| Aspect | Value |
|---|---|
| unit | tests/unit/site-system.test.ts: renders every do and don't example through the registry and checks the classes it owns |
| visual | Not yet: there are no screenshot baselines; the Library page is checked for sideways scroll at 1440 px by tests/site/system.spec.ts |
| a11y | tests/site/system.spec.ts: axe (0 serious or critical) on the element's Library page in light and dark |
| parity | scripts/site/system/check.ts: Library examples are rendered by the same render function the site imports |
Figma
not-yet: The Loom Site Figma library is the last stage of the plan; this element is not mapped yet.