App Bar

Demo

a/o

Props

PropTypeDescription
menuNavItem[]Array of navigation items to display in the app bar.
brandobjectBranding options, including logo and href.
hideIconbooleanOption to hide the icon.
childrenReact.ReactNodeChildren components to render within the app bar.
localestringLocale string for internationalization.
customLinkComponentLinkComponentCustom component for rendering links.
classNamesobjectCustom CSS class names for styling.

brand Object Props

PropTypeDescription
logoobjectContains logo properties.
hrefstringURL for the brand logo link.

logo Object Props

PropTypeDescription
srcstringSource URL of the logo.
altstringAlt text for the logo.
widthnumberWidth of the logo.
heightnumberHeight of the logo.
classNamestringCustom CSS class for the logo.
darksrcstringSource URL of the logo for dark mode.

Styles

Property classNames contains customized class names.

PropertyDescriptionType
root?Class for the main app bar.string
logo?Class for the brand logo.string
menu?Class for the navigation menu.string
menuItem?Class for the menu item.string