A simple material-design-styled snackbar you can use in any page of your projects.
# download github
https://github.com/ibnujakaria/snackbar-js/archive/v1.0.9.zip
# npm
npm install --save snackbar-js
<script src="dist/snackbar.js"></script>
<script>
Snackbar
.create()
.setText('Hello world! :)')
.setStyle('center') // or you can use .setStyle('left')
.show()
</script>
import Snackbar from 'snackbar-js'
Snackbar
.create()
.setText('Hello world! :)')
.setStyle('center') // or you can use .setStyle('left')
.show()
The project is open-sourced software licensed under the MIT license.