Navbar2
Last updated
Last updated
Navbar2
is a responsive navigation bar component that uses MUI's AppBar
, Toolbar
, and Box
, providing customizable content through the children
prop, while applying specific styling and padding based on the screen size.
Component path: src/blocks/navbar/Navbar2.tsx
Component usage path: src/app/blocks/navbar/navbar2/page.tsx
Preview link:
children
ReactElement
A single React element or component that will be rendered inside the StyledToolbar
of the AppBar
. This prop allows for custom content such as logos, navigation links, or any other elements to be displayed in the navbar.
Elements that will be displayed inside the navigation bar