Ask Natuna

Ask about the design system

Hi, I am Natuna.

Ask me about the design system: components, tokens, statuses, and how to use them.

Natuna can be wrong. The docs are the source of truth.

Skip to content
  • IntroductionPage
  • Ask NatunaAsk about the design systemPage
  • FoundationColor, type, number, effectPage
  • Components overviewPage
  • ThemesLight and dark modePage
  • NamingProperty and page namesPage
  • Privacy statementPage
  • Text-safe stepsFirst AA and AAA step per color rampSection
  • AccessibilityWCAG 2.2 AAA rulesSection
  • Dark modeThemesSection
  • Using it todayFigma file and React codeSection
  • Component statusDesign status and In ReactSection

Arrow keys to move, Enter to open, Esc to close.

Headline

A page or section title set in the Urbanist header scale.

Status
Ready
Code
In React
Role
Display

Usage

This demo is live, and the code below it is the same code, imports included. The component lives in src/ui of this repository and is not published to npm yet.

Transfer money

Recent recipients

Saved accounts

Pastes as editable layers. Shadows are not exported.

import { Headline } from "@/ui";

export default function HeadlineDemo() {
  // On a real page, leave out "as": the levels default to h1, h2 and h3.
  // Here the demo sits under the page's own headings, so it starts at h3.
  return (
    <>
      <Headline as="h3">Transfer money</Headline>
      <Headline level="h2" as="h4">Recent recipients</Headline>
      <Headline level="subheader" as="h5">Saved accounts</Headline>
    </>
  );
}

Variants and states

Every specimen is the real component from src/ui, held in one state.

level h124/36 · 28/40 · 32/44, Bold (mobile · tablet · website)

Header 1: Transfer money

level h220/30 · 24/36 · 28/40, Bold (mobile · tablet · website)

Header 2: Transfer money

level subheader18/26 · 20/30 · 24/36, SemiBold (mobile · tablet · website)

Subheader: Transfer money

Pastes as editable layers. Shadows are not exported.

Props

level
"h1" | "h2" | "subheader" · default "h1"
The Foundation style: Header 1 and Header 2 in Bold, Subheader in SemiBold. Each steps up at tablet and website widths.
as
"h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" · default h1, h2, h3
The HTML element, when the document outline needs a different level than the look.
children
ReactNode · default none
Required. The title text.
...rest
HTMLAttributes · default none
Every other heading attribute, such as id for an in-page link.

Figma to code

Figma properties by their exact names from Naming, and the React prop that carries each one. The table covers the shared properties that bear on this component; the Figma file decides which of them its component exposes. None means there is no prop for it yet.

🧰 Type
level
Header 1, Header 2, Subheader. The text styles are Foundation Typography v1.1.
🖍 Label
children
The title text.

Accessibility

What the code in src/ui does today, and what it leaves to you.

Keyboard

  • Not focusable. Screen reader users move between headings with their heading shortcut.

Screen readers

  • Read as a heading at the level of its element, which is what as sets. The look does not change the level.

What you still need to do

  • Use one h1 per page and do not skip levels: h1, then h2, then h3.
  • Pick the element for the outline and the level for the look, not the other way round.

When to use

One Header 1 per page, then Header 2 and Subheader for the sections below it.

Do and don't

Do

  • Follow the scale in order: Header 1, Header 2, Subheader.
  • Keep titles short enough to fit on one line on mobile.

Don't

  • Pick a heading size for looks: the level must match the document outline.
  • Set whole paragraphs in a header style.

4 of 16 other atoms, same role and ready ones first.

See all components

Status reflects the component tracker snapshot of 29 October 2026.