Press "Enter" to skip to content

🥖 A Simple and Flexible Stacking Toast Style Notifications In Vue.js

Breadstick is a simple and flexible implementation of toast-style notifications for Vue.js. Inspired by React’s toasted notes – which I think are really cool.

react toast notification, react notification component, react toast notification example, how to use react toastify, react toastify promise example


  • Functional stacking, positioning, timing, and separation API. Breadstick reveals functionality that allows you to control stacking, positioning, and dismiss toast style notifications.
  • Submit what you want. Take advantage of the show’s callback to create beautiful custom notifications.
  • Functional default patterns. Import the CSS provided for some great design defaults or write your own styles.
  • Vue framework neutral notification. Breadstick has no say in the design of Vue’s roasted notifications. Its main strengths lie in handling the business logic of stacking, positioning, timing, and dismissing your toast notifications.

How to make use of it:

Install and download:

# Yarn
$ yarn add breadstick

$ npm install breadstick --save

1. Install and register the Vue Breadstick component.

import Vue from 'vue'
import Breadstick from 'breadstick'

// or
const breadstick = new Breadstick()

2. Create a basic toast message using the notification method.

this.$breadstick.notify('Toast Message Here');

3. It also works with JSX and Vue.js render functionality.

import Alert from './components/Alert'

export default {
  name: 'app',
  mounted () {
    const showAlert = () => alert('Hello!')
    breadstick.notify(({ onClose }) => {
      return (
          An JSX Alert notification
import Alert from './components/Alert'

export default {
  name: 'app',
  mounted () {
    this.$breadstick.notify(({ h, onClose }) => {
      return h(Alert, {
        on: {
          click: onClose
      }, 'A render function Alert notification')

4. Change the position of the toast message. Available positions: ‘up’, ‘down’, ‘top left’, ‘top right’, ‘bottom left’, ‘bottom right’.

const breadstick = new Breadstick({
      position: 'bottom'

5. Change the waiting time before the automatic rejection of the toast message.

const breadstick = new Breadstick({
      duration: 6000


durationNumber5000Any number in milliseconds

Simple Flexible Toast Notification Component, Breadstick Plugin/Github

See Demo And Download

Official Website(codebender828): Click Here

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

Be First to Comment

    Leave a Reply

    Your email address will not be published.