An element that appears across the top of all pages containing the application name and primary navigation.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button selected container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" container="flat" icon-name="chat-bubble"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="search"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="switch-apps"></nve-icon-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm">EL</nve-icon-button>
</nve-page-header>
Installation
<script type="module">
import '@nvidia-elements/core/page-header/define.js';
</script>
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button selected container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" container="flat" icon-name="chat-bubble"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="search"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="switch-apps"></nve-icon-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm">EL</nve-icon-button>
</nve-page-header>
<script type="module">
import '@nvidia-elements/core/page-header/define.js';
</script>
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button selected container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" container="flat" icon-name="chat-bubble"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="search"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="switch-apps"></nve-icon-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm">EL</nve-icon-button>
</nve-page-header>
nve api.get nve-page-header
nve api.get nve-page-header
App Logo
Use the Logo element when representing an application that is part of a suite of applications in a given problem domain.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="yellow-nova">AV</nve-logo>
<h2 nve-text="heading" slot="prefix">Infrastructure</h2>
<nve-button container="flat" selected><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" container="flat" icon-name="chat-bubble"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="search"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="switch-apps"></nve-icon-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm">EL</nve-icon-button>
</nve-page-header>
Use a Icon Button to represent collapsible top-level navigation, optimal for mobile or constrained viewport sizes.
<nve-page-header>
<nve-icon-button slot="prefix" container="flat" icon-name="menu" aria-label="menu"></nve-icon-button>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button selected container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" container="flat" icon-name="chat-bubble"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="search"></nve-icon-button>
<nve-icon-button slot="suffix" container="flat" icon-name="switch-apps"></nve-icon-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm">EL</nve-icon-button>
</nve-page-header>
Use dropdowns and menus to allow progressive disclosure of extra navigation or global user actions.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button selected container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm" popovertarget="page-header-dropdown"
>EL</nve-icon-button
>
</nve-page-header>
<nve-dropdown position="bottom" id="page-header-dropdown">
<nve-menu>
<nve-menu-item><nve-icon name="person"></nve-icon> Menu Item</nve-menu-item>
<nve-menu-item><nve-icon name="gear"></nve-icon> Menu Item</nve-menu-item>
<nve-menu-item><nve-icon name="star"></nve-icon> Menu Item</nve-menu-item>
<nve-divider></nve-divider>
<nve-menu-item><nve-icon name="logout"></nve-icon> Menu Item</nve-menu-item>
</nve-menu>
</nve-dropdown>
Search
Page header with integrated search functionality for content discovery within the application.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-search slot="suffix" rounded style="width: 220px">
<input type="search" aria-label="search" />
</nve-search>
<nve-button slot="suffix" container="flat"><a href="#">Login</a></nve-button>
</nve-page-header>
Prefix Navigation
Page header with primary navigation positioned after the logo and branding area.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button container="flat"><a href="#">Features</a></nve-button>
<nve-button container="flat"><a href="#">Guide</a></nve-button>
<nve-button container="flat"><a href="#">Docs</a></nve-button>
<nve-button container="flat"><a href="#">Teams</a></nve-button>
<nve-button slot="suffix" container="flat"><a href="#">Login</a></nve-button>
<nve-button slot="suffix" interaction="emphasis" size="sm"><a href="#">Start Building</a></nve-button>
</nve-page-header>
Center Navigation
Page header with navigation centered in the available space for balanced visual hierarchy.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<div nve-layout="row align:center gap:xxs full">
<nve-button container="flat"><a href="#">Features</a></nve-button>
<nve-button container="flat"><a href="#">Guide</a></nve-button>
<nve-button container="flat"><a href="#">Docs</a></nve-button>
<nve-button container="flat"><a href="#">Teams</a></nve-button>
</div>
<nve-button slot="suffix" container="flat"><a href="#">Login</a></nve-button>
<nve-button slot="suffix" interaction="emphasis" size="sm"><a href="#">Start Building</a></nve-button>
</nve-page-header>
Suffix Navigation
Page header with all navigation positioned at the end for common and persistent user actions between page navigation.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button slot="suffix" container="flat"><a href="#">Features</a></nve-button>
<nve-button slot="suffix" container="flat"><a href="#">Guide</a></nve-button>
<nve-button slot="suffix" container="flat"><a href="#">Docs</a></nve-button>
<nve-button slot="suffix" container="flat"><a href="#">Teams</a></nve-button>
<nve-button slot="suffix" container="flat"><a href="#">Login</a></nve-button>
<nve-button slot="suffix" interaction="emphasis" size="sm"><a href="#">Start Building</a></nve-button>
</nve-page-header>
User Detail
Page header displaying user information and avatar for personalized application experiences.
<nve-page-header>
<nve-logo slot="prefix" size="sm" color="brand-green">NV</nve-logo>
<h2 slot="prefix" nve-text="heading sm">Infrastructure</h2>
<nve-button container="flat"><a href="#">Link 1</a></nve-button>
<nve-button container="flat"><a href="#">Link 2</a></nve-button>
<nve-icon-button slot="suffix" interaction="emphasis" size="sm">GH</nve-icon-button>
<div slot="suffix" nve-layout="column gap:md">
<p nve-text="label sm trim:none">Grace Hopper</p>
<p nve-text="body sm muted trim:none nowrap">infra-0087ef65-19e80</p>
</div>
</nve-page-header>
Release Status
All elements and features go through 3 phases of stability, pre-release, beta and stable.
pre-release Docs Preview API Documentation Fully Themeable
beta Robust unit test coverages Passed API Review Passed Designer VQA Review Included in library package stable No known outstanding AA WCAG issues No known outstanding performance issues Adapts to different screen/container sizes No breaking API changes for at least 90 days