@hautechai/webui.appbar
v2.1.9
Published
Top navigation bar component with configurable left, center, and right content areas for application headers.
Readme
AppBar
Purpose
Top navigation bar component with configurable left, center, and right content areas for application headers.
Installation
# pnpm (recommended)
pnpm add @hautechai/webui.appbar
# npm
npm install @hautechai/webui.appbar
# yarn
yarn add @hautechai/webui.appbarParameters
| Parameter | Type | Description | | --------- | --------------- | -------------------------------------------------------------------------------------------- | | hierarchy | 'mid' | 'low' | Visual hierarchy level affecting background color and styling prominence (defaults to 'mid') | | left | React.ReactNode | Optional content displayed in the left section of the app bar | | center | React.ReactNode | Optional content displayed in the center section of the app bar | | right | React.ReactNode | Optional content displayed in the right section of the app bar |
Usage Example
<AppBar hierarchy="mid" left={<Logo />} center={<SearchBar />} right={<UserMenu />} />