It comes in 5 different colors (just pass the color prop to it with
one of the
purple,
blue,
green,
orange,
red,
white),
option to set a background image (image), a option to set the brand text (logoText), a option to set the logo image (logo) and a option to set the routes / links to be displayed in it
(routes).
Style
You will find the styles for this component in
assets/jss/nextjs-material-dashboard/components/sidebarStyle.js.
Usage
Props
PRO
This is the main navigation of the
Admin
layout. It’s position is on left, and if you’re on RTL it is on the
right side of the window.
To change our demo user, you need to change lines
134-221.
Between lines
31-55
there is a custom made component in which we render the links, links
from the header (top navigation of our demo) and the user collapse.
We’ve done this so that we can initialize and use
PerfectScrollbar
for Windows users.
Style
You will find the styles for this component in
assets/jss/nextjs-material-dashboard-pro/components/sidebarStyle.js.