Skip to content
SENVENLI UI

Heading

A page or section title on the type scale, with its HTML level separate from its size.

Billing

Invoices are issued on the first day of each month and sent to the account owner.

A section title
import { Heading } from "@senvenli/react/display";

Examples

Levels

Each level has its default size; follow the page structure and never skip a level.

Size apart from level

When the outline level looks too large or too small, change `size`, not the level.

Order summary

$48,920 this month

Guidelines

When to use it

  • Naming a page, a section or a group of content.

Use something else when

  • The words are body copy, labels or captions. Text

Do and avoid

  • One level-1 heading per page; never skip levels for looks, use size instead.

Accessibility

Built in

  • Renders the real h1–h6 element for level, so the outline stays correct.

You provide

  • Levels that follow the page structure.

API reference

Heading

levelRequired
HeadingLevel

The place in the document outline (h1–h6).

size
HeadingSize

The look, set apart from the level. display-* is for a marketing hero and section titles only.

childrenRequired
React.ReactNode
id
string