Foundations

Typography, links, tables, themes, and motion for semantic HTML.

Typography and links

First-level heading

Second-level heading

Body text with inline code, a regular link, and a disabled link.

Data tables

Semantic tables receive only a readable foundation. The wide example's scrolling belongs to this specimen, not the library.

Compact table · light

Sample issue totals
StateCountOwner
Open8Joe
Closed12Joe

Wide table · dark

Sample release checklist
ReleaseStatusCSS buildSpecimen buildManual reviewOwner
Sample AReadyCompleteCompletePendingJoe
Sample BDraftCompletePendingPendingJoe

Semantic color contract

Every named text role below is guaranteed against both the page and surface backgrounds. Borders and focus rings have a separate non-text contrast guarantee.

Forced light scheme

Page background
  • Text
  • Muted text
  • Danger
Border sample
Focus-ring sample
Surface background
  • Text
  • Muted text
  • Danger
Border sample
Focus-ring sample

Primitive swatches; no foreground guarantee

Accent
Inverse surface

Forced dark scheme

Page background
  • Text
  • Muted text
  • Danger
Border sample
Focus-ring sample
Surface background
  • Text
  • Muted text
  • Danger
Border sample
Focus-ring sample

Primitive swatches; no foreground guarantee

Accent
Inverse surface

Motion and interaction

Accessibility: Keep meaning and operation available without animation or hover. Test reduced-motion preferences separately from static screenshots. MDN reduced-motion guidance.

Hover or focus within

This surface scales only when motion is acceptable.

Focus this link
Disabled scale surface

This example remains static.

Full markup, options, and customization reference