EEnterUI
DocsComponentsThemesDonation
Get Started
      • Header
      • PageHeader
      • SectionHeader
EnterUIDocsLayout UtilitiesApp LayoutPage StructureHeader
Layout UtilitiesUpdated 6 May 2026

Header

A product header primitive with brand, navigation, and action slots.

Header defines how EnterUI handles a product header primitive with brand, navigation, and action slots, including default structure, accessible states, and token-driven styling.

#Default usage

Header

Compose brand, nav, and actions as slots.

Console
Beta
Code
<Header>
  <HeaderBrand>Console</HeaderBrand>
  <HeaderNav>
    <Button size="sm" variant="ghost">Docs</Button>
    <Button size="sm" variant="ghost">Components</Button>
  </HeaderNav>
  <HeaderActions>
    <Badge>Beta</Badge>
    <Button size="sm">New</Button>
  </HeaderActions>
</Header>

#Import

Code
import {
  Badge,
  Button,
  Header,
  HeaderActions,
  HeaderBrand,
  HeaderNav,
} from "@froggdesign/enter-ui-react";

#Variants

Primary header

Use the primary variant for the main docs or product shell header.

EnterUI
Code
<Header variant="primary">
  <HeaderBrand>EnterUI</HeaderBrand>
  <HeaderNav>
    <Button size="sm" variant="ghost">Docs</Button>
    <Button size="sm" variant="ghost">Components</Button>
    <Button size="sm" variant="ghost">Themes</Button>
  </HeaderNav>
  <HeaderActions>
    <Button size="sm">Get Started</Button>
  </HeaderActions>
</Header>

#Accessibility

Header renders a semantic header. HeaderNav renders a nav, so provide meaningful link or button labels inside it.

#API

  • Header supports sticky and variant="default" | "primary".
  • HeaderBrand, HeaderNav, and HeaderActions are slot primitives.
  • All slots support className.

#Styling

Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousWebhookEndpointCard
NextPageHeader

On this page

  1. Default usage
  2. Import
  3. Variants
  4. Accessibility
  5. API
  6. Styling