EEnterUI
DocsComponentsThemesDonation
Get Started
      • Sidebar
      • SideNav
      • NavigationRail
      • TopBar
      • SearchCommand
EnterUIDocsLayout UtilitiesApp LayoutNavigation SurfacesTopBar
Layout UtilitiesUpdated 6 May 2026

TopBar

Product top header with breadcrumb, title, search, actions, notifications, and user-menu slots.

TopBar replaces ad-hoc header rows in product apps. Compose with SearchCommand, UserMenu, and NotificationCenter to assemble a full app shell header.

#Default usage

Sticky top bar

Pass sticky to pin to the top of the surrounding scroll container.

Workspace
Code
<TopBar
  actions={<Button size="sm">Invite</Button>}
  search={<SearchCommand />}
  sticky
  title="Workspace"
/>

#Import

Code
import { TopBar } from "@froggdesign/enter-ui-react";

#Accessibility

TopBar renders as a <header> so the bar is announced as a banner landmark. Place exactly one TopBar per route to avoid landmark duplication.

#API

  • title, breadcrumb: lead slots.
  • search: middle slot, typically a SearchCommand.
  • actions, notifications, user: trailing slots.
  • sticky: pin to the top with data-sticky="true".

#Styling

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

PreviousNavigationRail
NextSearchCommand

On this page

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