Eyebrow stable

The library's one mono label: a short uppercase caption in JetBrains Mono, dimmed by default or in the live accent, set above a section title (eyebrow) or inside a card or a row (tag). Text only — no chrome, no states, laid out by its parent.

Variants: dim accent · A11y: pass

Dim and accent are tones, not states: no hover, no focus (RFC §3). The recipe lives in eyebrow.css and ships no layout (§3.4, §7 Q8). The Callout's own tag shares the recipe but stays inside the Callout — no dependency in v1 (RFC §2.3).

Examples

Live renders — hover and keyboard states all work here.

Mech Rift · Compass Map
<Eyebrow tone="accent">Mech</Eyebrow>
<Eyebrow tone="dim">Rift · Compass</Eyebrow>
<Eyebrow tone="dim">Map</Eyebrow>

Guidelines

Golden rules

  1. One recipe, uppercase by CSS. Every Eyebrow is the type/meta text style (11px / 400 / 0.06em) in capitals — no size, weight or tracking option (RFC §7 Q2, Q7). Write the label in its own casing: the uppercase is text-transform, so assistive tech reads the source (§4.1).
  2. A tone is a colour, nothing else. dim (the default) for a quiet caption; accent when the label should carry the live accent — it follows data-accent (RFC §3.1, §7 Q10, Q13). Neither is a state: no hover, no focus.
  3. Text only — the parent lays it out. The stylesheet ships no margin, padding, border, background, position or display: a section head stacks it above the title, a card or a table row puts it in a row (RFC §3.4, §7 Q8).
  4. Short: a category or a counter. Never a sentence, and at most one Eyebrow per title (RFC §3.4).

Do

  • Place it before the h2 / h3 it captions — a sibling of the heading, never a child (§7 Q9).
  • Write the label as prose in the source ("Rift compass", not "RIFT COMPASS"): the capitals are CSS (§4.1).
  • Use tone="accent" when the label should follow the page accent; keep the default dim otherwise (§3.1).
  • Keep positioning product-side: the parent's stack or row places the Eyebrow (§7 Q8).

Don't

  • Don't put an Eyebrow inside a heading element — place it before the h2/h3, never inside, so the heading's accessible name stays the title alone (§7 Q9).
  • Don't add a glyph or an ornament: the quiz tag's diamond stays product-side (§7 Q5).
  • Don't turn it into a chip — no border, no padding: the bordered showcase chip is out of scope in v1 (§7 Q6).
  • Don't override its size, weight or tracking product-side — one recipe (§7 Q2, Q7).

The 5 accents

Each tile scopes the accent axis with data-accent on the tile itself — the element-scoped theme contract.

ambre Mech
bleu Mech
rouge Mech
violet Mech
jade Mech

Props

PropTypeDefaultOptionalNote
tone "dim" | "accent" dim yes a colour and nothing else (RFC §7 Q10): fg/dim by default (§7 Q13, replacing Q3's mute) or accent/default, which follows the accent axis; emits ll-eyebrow--{tone}. No other tone, no size, no as prop (§7 Q4, Q7, Q13)
children ReactNode — no the label: a short string or inline nodes — a category or a counter, never a sentence (§3.4); passed through untouched, the uppercase is CSS

Accessibility pass

Semantic structure
Exactly one <span class="ll-eyebrow ll-eyebrow--{tone}"> whose only content is children: no wrapper, no pseudo-element content, no ARIA role, no label, no live region (RFC §3.4, §4.1). Not a heading and carries no heading semantics — the serif title next to it stays the heading. The uppercase is CSS text-transform, so assistive tech reads the author's casing.
Keyboard
Nothing to do: no interactive element, nothing focusable — no a, button, input or tabindex is rendered by the component (RFC §3.3, §4.2). Interactive children are not expected; if the product nests one it keeps its own semantics, product-side.
Decisions
Never inside a heading element: placed before the h2/h3, never inside, so the heading's accessible name stays the title alone (RFC §7 Q9 — a dont guideline; two site usages were restructured at adoption (2026-09-21)). Nothing is decorative, so nothing is aria-hidden: the label IS the meaning (unlike the Callout's glyph). Contrast is computed by the gate from resolved tokens, never declared here: fg/dim and accent/default on surface/default and on bg/default, under the five accents, at the normal-text threshold (11px is not large text, WCAG 1.4.3). The 0.06em tracking is the type/meta token (§7 Q2), a design arbitration already made — not an accessibility defect to reopen.
Notes
Implemented per RFC §4; this status moves to pass only through the accessibility engine gate, never by assertion.