You will find the styles for this component in
assets/jss/nextjs-material-dashboard-pro/components/snackbarContentStyle.js
and
assets/jss/nextjs-material-dashboard/components/snackbarContentStyle.js.
Types
This is a plain notification
This is a notification with close button.
add_alertThis is a notification with close button and icon and have
many lines. You can see that the icon and the close button are
always vertically aligned. This is a beautiful notification.
So you don't have to worry about the style.
add_alertThis is a notification with close button and icon and is made
with color="rose". You can see that the icon and the close
button are always vertically aligned. This is a beautiful
notification. So you don't have to worry about the
style.
Colors
INFO - This is a regular notification made with color="info"
SUCCESS - This is a regular notification made with color="success"
WARNING - This is a regular notification made with color="warning"
DANGER - This is a regular notification made with color="danger"
PRIMARY - This is a regular notification made with color="primary"
ROSE - This is a regular notification made with color="rose"
Props
Snackbar
This can be used to create
dynamic
notifications.
Style
You will find the styles for this component in
assets/jss/nextjs-material-dashboard-pro/components/snackbarContentStyle.js.
and
assets/jss/nextjs-material-dashboard/components/snackbarContentStyle.js..
Example
Unfortunately, the live
dynamic
demo docs for this component does not work properly due to some docs
css. Please check
the live preview
to see the
Snackbar
in action. Also, check the
the live preview
for the free version.