More Premium Hugo Themes Premium Vue Themes

Vue Toast

A Vue1 component for showing friendly operation tip to user. :white_check_mark:

Vue Toast

A Vue1 component for showing friendly operation tip to user. :white_check_mark:

Author Avatar Theme by frehaiku
Github Stars Github Stars: 25
Last Commit Last Commit: Jun 4, 2017 -
First Commit Created: Aug 8, 2025 -
Vue Toast screenshot

Overview

Vue-Toast is a versatile Vue component designed to enhance user experience by providing friendly operation tips through concise notifications. Specifically created for Vue 2 and later versions, this component allows developers to easily implement toast messages that can improve feedback and user interaction within their applications.

This highly customizable toast component is not just user-friendly but also developer-friendly, enabling easy installation via npm. With its variety of features, adding informative messages to your application has never been simpler or more engaging.

Features

  • Customizable Message: Users can set the toast content through a simple string parameter, making it easy to communicate specific information.

  • Position Control: Offers flexibility in toast placement with options like ‘bottom middle’ or ’top middle’, ensuring visibility according to user preferences.

  • Adjustable Sustain Time: Developers can define how long the toast remains visible (in milliseconds), providing control over user experience and ensuring messages are received.

  • Animation Options: Select between different show animations, including ‘opacity’ or ‘scale’, to provide a visually appealing experience when displaying notifications.

  • Callback Functions: Includes options for onHide and onShow callbacks, allowing for additional functionality to be executed when the toast is displayed or hidden.

  • Manual Message Setting: The ability to manually invoke and set the content of the toast messages via the showMessage method enhances flexibility in usage.

  • MIT License: The component is open-source and freely available under the MIT License, making it a great choice for both personal and commercial projects.