Nav Header

Top navigation bar with logo, nav items, and user menu. Four layout types.

import{ NavHeader } from "@pepulux/ui"

Simple

Pepulux

Centered

Pepulux

Props

PropTypeDefaultDescription
type"simple" | "dual-tier" | "centered" | "tabs""simple"Layout variant
logoTextstring—Brand name shown next to logo icon
logoSrcstring—Custom logo image URL
itemsNavHeaderItem[]—Main navigation links
userNavHeaderUser—User object { name, email, avatarSrc? }
onLogoClick() => void—Called when logo is clicked
Application component → Application navigationwww.pepulux.com

Notes and documentation

Space for notes, documentation, and best practices for using these components.

Top-level navigation

Keep the header to the primary destinations and global actions: search, notifications and the account menu.