Press "Enter" to skip to content

Bootstrap 4 Toasts Notification with Vue Component

vue-bootstrap-toasts is a Vue.js component that uses the Bootstrap 4 toast component to create beautiful and configurable toast-style popups on the app.

bootstrap vue toast disappears immediately, vue toast notification example, bootstrap vue toast not working, toast notification vue 3, vue toast notification vue 2

Features:

  • RTL support.
  • Progress bar to show remaining time.
  • Custom lead time.
  • Closeable.
  • 4 types of notifications: success, information, warning, and error.

How to make use of it:

1. Install and download:

# NPM
$ npm install vue-bootstrap-toasts --save

2. Install, import, and register the component.

import VueBootstrapToasts from "vue-bootstrap-toasts";
Vue.use(VueBootstrapToasts);

3. Create a Toast component in the application.

<Toasts></Toasts>

4. Configure the component with the following props.

<Toasts
  :show-progress="true"
  :rtl="false"
  :max-messages="5"
  :time-out="3000"
  :closeable="true"
></Toasts>

5. Show toast messages.

this.$toast.success('your message');
this.$toast.error('your message');
this.$toast.warning('your message');
this.$toast.info('your message');

create beautiful toast message, vue-bootstrap-toasts Plugin/Github


See Demo And Download

Official Website(rakk7): Click Here

This superior jQuery/javascript plugin is developed by rakk7. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *