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.

Repositioning and entry fade

Activate a chip to move it to the end, or use the controls. Reordering, focus, and animation mechanics belong to this example, not the library. New entries fade linearly; existing entries settle with the decelerate curve.

--barba-motion-duration-base: movement (300ms); --barba-motion-duration-fast: fade (150ms); --barba-motion-easing-decelerate: non-overshooting cubic-out. Reduced motion always wins over the comparison control.

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