Vue Snackbar - Material
PROThe MaterialSnackbar
component helps you to simply create a beautiful notification/alert.
Toast Basic
diamondMaterial Dashboard11 minutes ago
Hello world! This is a notification message.
Props Information
Name | Type | Default | Description |
---|---|---|---|
title* | string | Used to set the MaterialSnackbar title. It is a required prop. | |
date | string | Used to set the MaterialSnackbar date or time. | |
description | string | Used to set the MaterialSnackbar content or description. | |
color | 'primary''secondary''info''success''warning''danger''error''light''dark' | success | Change the MaterialSnackbar background color. |
icon | ['component', 'color'] | icon accepts an object that can be used to set the MaterialSnackbar icon along with its color.
| |
closeHandler | function | Used to close the MaterialSnackbar once the user hit the close button. |
Toast Message
Hello world! This is a notification message.