Nextjs Core Navbars

-
Pro Component

This is the top navigation of our demo app.


AdminNavbar

In the free version, it is called simply Navbar.

Styles

You will find the styles for this component in assets/jss/nextjs-material-dashboard-pro/components/headerStyle.js and assets/jss/nextjs-material-dashboard/components/headerStyle.js.

Example

Props

Header.propTypes = {
  color: PropTypes.oneOf(["primary", "info", "success", "warning", "danger"]),
  rtlActive: PropTypes.bool
};

Styles

You will find the styles for this component in assets/jss/nextjs-material-dashboard/components/headerLinksStyle.js.

Example

Props pro

AdminNavbarLinks.propTypes = {
  // uses rtl names instead of english ones
  rtlActive: PropTypes.bool,
};

Styles

You will find the styles for this component in assets/jss/nextjs-material-dashboard/components/rtlHeaderLinksStyle.js.

Example

AuthNavbar pro

Styles

You will find the styles for this component in assets/jss/nextjs-material-dashboard-pro/components/authNavbarStyle.js.

Example

Props

AuthNavbar.propTypes = {
  color: PropTypes.oneOf(["primary", "info", "success", "warning", "danger"]),
  brandText: PropTypes.string,
};

Props

If you wish to change these component, you should also check the following props from the base Material-UI components: