Skip to content
Sections
Fiesta

page-header

List screen Generic list screen with title, toolbar, rows that work desktop and mobile.

The screen's title bar: an h1, an optional subhead, and a primary action.

Each example is live, but its links go nowhere. HTML shows the markup to copy.

Title, subhead and a primary action

Preview
<header rst-page-header>
  <div rst-page-header-titles>
    <h1>Posts</h1>
    <p rst-page-header-sub>Everything you have written, newest first.</p>
  </div>
  <a rst-btn="primary" href="/posts/new">
    <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg>
    Write a post
  </a>
</header>

In an app this would reach /posts/new. Here its links and forms go nowhere.

Title only

Preview
<header rst-page-header>
  <div rst-page-header-titles>
    <h1>Settings</h1>
  </div>
</header>