Skip to main content

Design system components

SectionTitle

The shared section title: a pixel mark that opens at the middle of the viewport, then the heading, left-aligned at one type size per breakpoint.

Status: alpha. Group: marketing. Markdown version: /design-system/components/section-title.md

When to use

The shared section title: a pixel mark that opens at the middle of the viewport, then the heading, left-aligned at one type size per breakpoint.

When not to use

The contract records no forbidden uses.

Look-alikes

The contract names no look-alike with a deciding condition.

Props

SectionTitle props
PropTypeDefaultDescriptionRequired
childrenReactNodenoneThe title text.Yes
idstringnoneId on the heading, for aria-labelledby on its section.No
level"2" | "3"2Heading level.No
markbooleantrueThe pixel mark before the title. Turn it off over artwork, where the dots would not read.No
classNamestringnoneClasses on the row holding the mark and the title.No
titleClassNamestringnoneClasses on the heading itself.No

Variants

  • Allowed level values: 2, 3 (default 2).

Invalid combinations

The contract records no invalid combinations.

Keyboard

The contract records no keyboard interaction.

Rules

Every item under When not to use is a MUST NOT. MUST and SHOULD follow RFC 2119.

SectionTitle rules
LevelRuleHow it is checked
MUSTRequired stories produce no axe violations at the configured severity.Not yet verified: no evidence record. WCAG 2.5.8.
MUSTThe accessibility tree (role, name, state) matches the committed snapshot for every required story.Not yet verified: no evidence record. WCAG 1.3.1, 4.1.2.
MUSTThe component remains legible and operable under a real browser forced-colors: active pass.Not yet verified: no evidence record.
MUST NOTMaintainers: Do not invent parallel primitives inside this folder.Release review; not machine-checked.
MUST NOTMaintainers: Do not promote to stable without production consumer evidence.Release review; not machine-checked.

Install and import

  • In-repo only. SectionTitle is not exported from @digitaltableteur/react, so there is no public import path.
  • Alpha components are internal and never exported.