Record quality over time
Each change adds evidence.
<forma-section-heading>
Labels a page section with an eyebrow, heading, framing sentence, and optional aside that wraps on narrow screens.
<forma-section-heading>patterns/section-heading.htmlA section heading is the header of a marketing page section. .forma-section-heading__text carries an optional eyebrow, the section's h2 and an optional framing sentence; .forma-section-heading__aside holds a secondary link, button or short note. A strong rule under the heading separates it from the section's content. It is presentation only; the heading level and the section's accessible name come from the markup.
.forma-section, content directly after the heading starts without extra stack spacing because the heading already ends in a rule and margin.The smallest correct markup: the canonical pattern from patterns/section-heading.html inside its public tag. Copy this first, then adapt labels, names and state.
Rendered from the canonical pattern file.
Static specimen. Its links point to placeholder destinations that do not exist on this site. Its controls are shown for their markup and appearance and cannot be operated here.
Service lines
An optional sentence frames what follows and why it matters.
<forma-section-heading class="forma-component-tag">
<div class="forma-site">
<section class="forma-section" aria-labelledby="services-title">
<header class="forma-section-heading">
<div class="forma-section-heading__text">
<p class="forma-eyebrow">Service lines</p>
<h2 id="services-title">Name the section in plain language</h2>
<p>An optional sentence frames what follows and why it matters.</p>
</div>
<div class="forma-section-heading__aside"><a class="forma-button" href="#services">Explore the services</a></div>
</header>
</section>
</div>
</forma-section-heading>
Click or tap the code once to select all of it, then copy.
The aside carries a short mono note (.forma-section-heading__note) instead of an action, for example when the section's content was last reviewed. The note is text, not a link.
Published work
Each paper states its question, method and limits before its conclusion.
Updated September 2026
Twelve papers across four research areas.
<forma-section-heading class="forma-component-tag">
<div class="forma-site">
<section class="forma-section" aria-labelledby="section-heading-with-note-title">
<header class="forma-section-heading">
<div class="forma-section-heading__text">
<p class="forma-eyebrow">Published work</p>
<h2 id="section-heading-with-note-title">Research the practice depends on</h2>
<p>Each paper states its question, method and limits before its conclusion.</p>
</div>
<div class="forma-section-heading__aside"><p class="forma-section-heading__note">Updated September 2026</p></div>
</header>
<p>Twelve papers across four research areas.</p>
</section>
</div>
</forma-section-heading>
Click or tap the code once to select all of it, then copy.
The smallest useful heading: eyebrow and title with no framing sentence or aside, directly followed by a card grid. The grid starts right after the heading rule.
Capabilities
Each change adds evidence.
Every movement links to its cause.
<forma-section-heading class="forma-component-tag">
<div class="forma-site">
<section class="forma-section" aria-labelledby="section-heading-title-only-title">
<header class="forma-section-heading">
<div class="forma-section-heading__text">
<p class="forma-eyebrow">Capabilities</p>
<h2 id="section-heading-title-only-title">What the product does</h2>
</div>
</header>
<ul class="forma-card-grid" data-forma-columns="2" aria-label="Capabilities">
<li><article class="forma-card"><h3 class="forma-card__title">Record quality over time</h3><p>Each change adds evidence.</p></article></li>
<li><article class="forma-card"><h3 class="forma-card__title">Explain regressions</h3><p>Every movement links to its cause.</p></article></li>
</ul>
</section>
</div>
</forma-section-heading>
Click or tap the code once to select all of it, then copy.
Each mobile example renders in its own document inside a real narrow viewport, so Forma's media and container queries run exactly as they would on a phone. Choose a width to compare.
A long heading with a framing sentence and an action. At phone width the aside wraps under the text and the button starts at the inline start.
Live demo. 1 native action works here and is verified by an outcome test.
<forma-section-heading class="forma-component-tag">
<div class="forma-site">
<section class="forma-section" aria-labelledby="section-heading-mobile-long-title-title">
<header class="forma-section-heading">
<div class="forma-section-heading__text">
<p class="forma-eyebrow">Service lines</p>
<h2 id="section-heading-mobile-long-title-title">Diagnosis, constraint modelling and verification for consequential systems</h2>
<p>Three engagements that can run alone or in sequence.</p>
</div>
<div class="forma-section-heading__aside"><a class="forma-button" href="#section-heading-mobile-long-title-title">Compare the engagements</a></div>
</header>
</section>
</div>
</forma-section-heading>
Click or tap the code once to select all of it, then copy.
The canonical pattern in a true 320px viewport, the minimum width every Forma component must support without page-level horizontal scrolling.
Static specimen. Its links point to placeholder destinations that do not exist on this site. Its controls are shown for their markup and appearance and cannot be operated here.
Forma components have no JavaScript API. Their public contract is the markup: native elements and attributes you write, and the CSS hooks below. The CSS hook table is generated from the built stylesheet, so it always matches the shipped implementation.
| Attribute | On | Values | Default | Description |
|---|---|---|---|---|
aria-labelledby | section.forma-section | id of the h2 | — | Names the section by its visible heading. |
id | h2 | string | — | Referenced by the section's aria-labelledby. |
| Hook | Kind | Values or default | Description |
|---|---|---|---|
.forma-section-heading | Block class | — | Root, normally a header inside a section. Wrapping flex row with a strong bottom rule and bottom spacing. |
.forma-section-heading__aside | Element class | — | Optional secondary action or note. Flex basis 14rem, capped at 28rem. |
.forma-section-heading__note | Element class | — | Short muted note in the mono label size, for dates or counts shown in the aside. |
.forma-section-heading__text | Element class | — | Eyebrow, heading and framing sentence. Grows first with a 32rem basis and a 20rem (or 100%) minimum. |
| Keys | Result |
|---|---|
| Tab | Reaches any link or button in the aside in source order, after the heading text. |
| State | How it is expressed | Presentation |
|---|---|---|
| Side by side | enough inline space | Text and aside share one row, aligned to the bottom. |
| Wrapped | flex-wrap | The aside moves below the text on narrow widths. |
| Text only | omit .forma-section-heading__aside | The text group takes the full width. |
h2) and name the section with aria-labelledby.min(100%, 20rem), so it never forces horizontal overflow.Generated fault-injection specimens expose content, spacing, color-cue, and reduced-effective-contrast risks. They screen presentation robustness as engineering screens without claiming human-subject validation.