
SweetAlert2
JavaScript library that replaces the browser's popup boxes with responsive, accessible, customizable dialogs.
sweetalert2.github.io/repositorydocs
SweetAlert2 replaces the browser’s popup boxes with responsive, accessible dialogs and has no dependencies. It is a fork of the SweetAlert package, maintained in its own organization and repository.
The package installs from npm, and a page can also load it from the jsDelivr CDN with a script tag. Separate packages integrate it with React, Angular and Laravel.
Identity
Rendering and deploy
- Install with
- npm, CDN5
Releases
Adoption
Sources
- 2026-11-16: links, Categories
github.com/sweetalert2/sweetalert2/blob/main/README.md - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/sweetalert2/sweetalert2 - 2026-11-16: links
github.com/sweetalert2/sweetalert2.github.io/blob/main/README.md - 2026-11-16: Maintainer, License model
raw.githubusercontent.com/sweetalert2/sweetalert2/main/LICENSE - 2026-11-16: Install with
raw.githubusercontent.com/sweetalert2/sweetalert2.github.io/main/src/components/Installation.tsx - 2026-11-16: Current major version, Last release
api.github.com/repos/sweetalert2/sweetalert2/releases/tags/v11.26.25 - 2026-11-16: First release
api.github.com/repos/sweetalert2/sweetalert2/commits/v0.0.1 - 2026-11-16: Contributors
api.github.com/repos/sweetalert2/sweetalert2/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/sweetalert2 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/sweetalert2