API Reference
Rockets React API
react-material-ui
functions
Navbar

Function: Navbar()

Navbar(props): Element

The Navbar component is a UI element used to display a navigation bar that includes a menu icon for drawer toggling, notification icon, and user account information.

Parameters

ParameterTypeDescription
propsNavbarPropsNavbar component props

Returns

Element

Example

<Navbar
  showNotifications={true}
  notificationsNumber={5}
  notificationsOnClick={handleNotificationsClick}
  avatar="https://example.com/avatar.jpg"
  text="John Doe"
  subText="Administrator"
/>

Defined in

packages/react-material-ui/src/components/Navbar/Navbar.tsx:71 (opens in a new tab)