Components, Layout
Page header
The header of an app page, with a title, a one-line description and actions on the right.
Activity
Review what your agents did, in chronological order.
The header of an app page. It is made of a title, a one-line description and actions on the right. It holds one primary action (fill).
Appearance
- Title: 18px, weight 600, line height 1.2, letter spacing -0.02em,
foreground. - Description: 12px with a 1.5 line height,
muted-foreground, 2px below the title. - Actions: at the right end, 8px apart. Usually BaseButton
sm. - Below 640px the actions move under the title.
What you provide
title: the name of the page. A noun of one or two words.description(optional): one sentence on what you do on this screen.actions(optional): the one primary action isfill, the rest areoutline.- If the page already has an h1, set
headingLevel={2}.
Markup
<header class="PageHeader_header">
<div class="PageHeader_text">
<h1 class="PageHeader_title">Activity</h1>
<p class="PageHeader_description">Review what your agents did, in chronological order.</p>
</div>
<div class="PageHeader_actions">…</div>
</header>
Don’t
- Don’t use display sizes in an app page header. Display is for public surfaces only.