🥖 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.

Related Posts


Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…


Simple jQuery Cookie Consent Plugin

jquery.cookie-consent is a simple jQuery plugin to request consent to use cookies. An easy-to-use and highly customizable cookie consent bar that informs your visitors of the use…


Timepicker JavaScript Plugin for jQuery Inspired by Google Calendar

jquery.timepicker is a lightweight jQuery timer plugin inspired by Google Calendar. It supports both mouse and keyboard navigation and weighs 5.5KB minified and compact. Features: Highly customizable…


A Lightweight, Touchable, and Responsive Angular Universal Carousel Library

ngxCarousel is a lightweight, tactile, and responsive library for creating an angular carousel. No dependencies, no more hammer. Must Read: Angular Responsive Image Slider With Lightbox Popup…


First Mobile Full-screen Modal Popup Library For Vue

Vue full-page modal is a responsive, mobile-compatible, screen-friendly pop-up library for Vue.js. Must Read: Modal Component Is Written in Vanilla JS | ensemble Modal How to make…


Generate a Random Number Picker In Vanilla JavaScript

Random Number Picker is a Vanilla JS-based number picker that allows you to generate a random number within a specified range. Must Read: Generating Lottery Numbers Using…