Skip to content

Page (Page Header)

The Page component provides the header + content structure that sits inside the Sandbox Layout main area. It’s a compound component — Page.Root establishes the page context, Page.Header (or Page.HeaderV2) standardizes the title, back navigation, and actions, and Page.Content holds the scrollable body.

Page.Header composes a back link, an icon or logo, the page title, a description, and header-right actions into a single standardized header.

Variations

Header with tabs (Page.HeaderV2)

Page.HeaderV2 is the newer header variant that supports a title row plus a tab strip for section navigation. The tabs are router-driven — each value is a route the tab links to, and the active tab is derived from the current URL.

Installation

import { Page } from "@harnessio/ui/components";
<Page.Root>
<Page.Header
title="Pipelines"
backLink={{ linkText: "Back to project", linkProps: { to: "/project" } }}
actions={<Button>New pipeline</Button>}
/>
<Page.Content>{/* page body */}</Page.Content>
</Page.Root>;