Callout stable
An emphasised aside inside a guide section: a typed tag (Key concept / Pro tip / Trap — a decorative glyph and a mono label in the live accent), an optional serif title, a body of rich inline content. Not interactive.
Variants: key pro trap · A11y: pass
Key / Pro / Trap are types, not states: no hover, no focus (RFC §3). Chrome lives in callout.css; the 2-column grid the site lays callouts in stays product-side (RFC §7 Q4).
RFC: Callout.rfc.md · Figma node: 61:26 · Figma docs page: 66:3
Examples
Live renders — hover and keyboard states all work here.
Key conceptShove, then leave
Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.
Pro tipPriority is permission
Only roam when the enemy must choose between following you and losing CS.
TrapDon't roam into nothing
A roam that gets no kill, no tower and no vision is just lost farm and a missed wave.
Pro tipTitle is optional: without it the tag leads straight into the body.
<Callout type="key" title="Shove, then leave">Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.</Callout>
<Callout type="pro" title="Priority is permission">Only roam when the enemy must choose between following you and losing CS.</Callout>
<Callout type="trap" title="Don't roam into nothing">A roam that gets no kill, no tower and no vision is just lost farm and a missed wave.</Callout>
<Callout type="pro">Title is optional: without it the tag leads straight into the body.</Callout>
Guidelines
Golden rules
- Key concept: the one takeaway. The single most important thing to retain from a section. Maximum one per section, placed first.
- Pro tip: actionable, follows the key. Practical advice that follows from the Key concept. Several per section are fine.
- Trap: short, direct, no hedging. A common low-Elo mistake and why it costs. Name the symptom, then the fix.
Do
- Put one Key concept per section, first in the grid.
- Write the title as a short sentence; the tag already says the type.
- Keep the body to two or three sentences; bold the one phrase to remember.
Don't
- Don't use a Callout outside a guide section — it is not a generic card.
- Don't write the title in capitals; the tag is the only uppercase element.
- Don't make the body a bare link or a list — that is another component.
The 5 accents
Each tile scopes the accent axis with data-accent on the tile itself — the element-scoped theme contract.
ambre
Key conceptShove, then leave
Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.
bleu
Key conceptShove, then leave
Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.
rouge
Key conceptShove, then leave
Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.
violet
Key conceptShove, then leave
Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.
jade
Key conceptShove, then leave
Fast-push the wave with your abilities, then roam while the enemy is stuck last-hitting under their tower.
Props
| Prop | Type | Default | Optional | Note |
type |
"key" | "pro" | "trap" |
— |
no |
required, no fallback (RFC §7 Q5); selects the tag label and glyph |
title |
string |
— |
yes |
optional serif title; absent → no <h3> is rendered |
children |
ReactNode |
— |
no |
the body: rich inline content (bold, glossary terms) |
Accessibility pass
- Semantic structure
- <article> holding, in order, the tag (plain text: Key concept / Pro tip / Trap — the type's meaning), an optional <h3> under the section's <h2>, and the body. No ARIA role overrides; the uppercase tag is CSS text-transform, AT reads the author's casing.
- Keyboard
- Nothing to do: no interactive element inside the component. Interactive children (glossary terms) keep their own semantics, product-side.
- Decisions
- The glyph (diamond / circle / triangle, 10px) is decorative — aria-hidden, no alternative text, the label already says it (RFC §7 Q3). Contrast is computed by the gate from resolved tokens: accent/default on surface/default (tag), fg/dim on surface/default (body), fg/default on surface/default (title, bold).
- Notes
- Implemented per RFC §4; this status moves to pass only through the accessibility engine gate, never by assertion.