Skip to content

Typography

Free

Heading, Text, and Eyebrow for page text. The heading level sets the tag and the size sets the look. Heading sizes shrink on small screens and never grow.

  • Base UI
  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

level sets the tag (<h1> to <h6>) and size sets the look, so the page outline stays right. With no size, the size follows the level.

pricing-intro.tsx

Heading

<h2>
PropTypeDefaultDescription
size"2xl""display""lg""md""sm""xl"—
level1234562The heading level: it sets the tag (<h1> to <h6>), so the page outline that screen readers list stays right. Default 2: a section heading.
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<h2> attributes—Every other attribute goes to the <h2>, with a ref.

Text

<p>
PropTypeDefaultDescription
size"lead""lg""md""sm""xs""md"
variant"default""muted""default"
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<p> attributes—Every other attribute goes to the <p>, with a ref.

Eyebrow

<p>
PropTypeDefaultDescription
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<p> attributes—Every other attribute goes to the <p>, with a ref.
  • Use Heading for page and section titles. Set level for the outline and size for the look.
  • Use Text for body copy, lead for the first paragraph under a hero, and xs only for fine print.
  • Use Eyebrow for a short topic above a heading. Write it in normal case: CSS sets the capitals.
  • For the name of a form field, use a Label.

Heading renders <h1> to <h6> from level (default 2). A large size does not change the level, so the outline that screen readers list stays right.

Eyebrow renders a <p> before the heading. It is not part of the heading name. Write it in normal case: CSS sets the capitals, so a screen reader does not spell the word letter by letter.

The fluid heading sizes have a rem part, so browser zoom still changes them. Headings never get larger on small screens.

Text renders a <p>. Pass render={<span />} or render={<li />} for another element.

  1. AddedTypography.
Open the release