sweet-modal-vue

SweetModal library for use with Vue.js
184,902 744
Install
npm install sweet-modal-vue
Latest Version:2.0.0
Vue:2
License:ISC
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: bluefirex

SweetModal

The sweetest library to happen to modals. Now available for Vue.js.

Usage

Install SweetModal for Vue.js through npm:

npm install sweet-modal-vue

Examples

For examples, refer to the demo page.

Browser Compatibility

SweetModal should work in most major browsers:

  • Safari 9+
  • Firefox 20+
  • Chrome 20+
  • Opera 15+
  • Microsoft Edge

Contribution

  1. Fork the repository
  2. Run npm install
  3. Run npm run dev and start hacking. You can reach the example site at http://localhost:8081.
  4. When you're done, run one final npm run build command and commit your work for a pull request.

Guidelines

  • tabs for indentation, 1 tab = 4 spaces
  • camelCase method names
  • _camelCase for private methods
  • snake_case computed properties
  • snake_case data
  • kebap-case attributes
  • arrow functions if possible
  • be fully ES6 compliant!

Related Packages

sweet-modal-vue-3

SweetModal library for use with Vue 3, Nuxt 3

24,804 0
seeroad-libs

A collection of utility classes

1,068
vue-slim-modal

Slim modal component for Vue.js

30,308 11
vue-use-modal-context

Vue modal helpers for simplify modal usage

911 4
@ztrehagem/vue-modal

Stacking-managed styleless modal library for Vue.js.

843 0

Version History

Version Released License
2.0.0 ISC
1.2.0 ISC
1.1.2 ISC
1.1.1 ISC
1.1.0 ISC