sweetalert2
โจ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. ๐บ๐ฆ๐ช๐บ
File Explorer
Download Latest Version (.zip)- 01_bug_report.yml
- 02_feature_request.yml
- 03_question.md
- chrome.yml
- copilot-setup-steps.yml
- firefox.yml
- webkit.yml
- CODE_OF_CONDUCT.md
- copilot-instructions.md
- FUNDING.yml
- extensions.json
- settings.json
- GitHub-social-preview.png
- swal2-logo-square.png
- swal2-logo.png
- sweetalert2.gif
- tests.cy.js
- commands.js
- index.js
- styles.css
- utils.js
- _destroy.js
- close.js
- enable-disable-elements.js
- getInput.js
- hideLoading.js
- update.js
- validation-message.js
- argsToParams.js
- bindClickHandler.js
- dom.js
- eventHandlers.js
- fire.js
- mixin.js
- showLoading.js
- timer.js
- render.js
- renderActions.js
- renderCloseButton.js
- renderContainer.js
- renderContent.js
- renderFooter.js
- renderIcon.js
- renderImage.js
- renderInput.js
- renderPopup.js
- renderProgressSteps.js
- renderTitle.js
- domUtils.js
- getters.js
- index.js
- init.js
- inputUtils.js
- parseHtmlToContainer.js
- aria.js
- classes.js
- defaultInputValidators.js
- DismissReason.js
- draggable.js
- EventEmitter.js
- getTemplateParams.js
- iosFix.js
- isNodeEnv.js
- openPopup.js
- params.js
- scrollbar.js
- setParameters.js
- Timer.js
- utils.js
- buttons-handlers.js
- constants.js
- globalState.js
- instanceMethods.js
- keydown-handler.js
- popup-click-handler.js
- privateMethods.js
- privateProps.js
- staticMethods.js
- SweetAlert.js
- sweetalert2.js
- sweetalert2.scss
- types.js
- index.html
- dist-sweetalert2.ts
- inputValidator.ts
- simple-usage.ts
- src-sweetalert2.ts
- index.js
- webpack.config.js
- require-in-commonjs.cjs
- bootstrap-4.css
- bootstrap-5.css
- borderless.css
- bulma.css
- embed-iframe.css
- material-ui.css
- minimal.css
- build-dist.mjs
- build.mjs
- purge-jsdelivr.mjs
- .editorconfig
- .gitignore
- .oxfmtrc.json
- .oxlintrc.json
- .stylelintrc.json
- bun.lock
- bunfig.toml
- CHANGELOG.md
- cypress.config.mjs
- jsconfig.json
- LICENSE
- package.json
- README.md
- release.config.js
- rollup.config.js
- SECURITY.md
- SPONSORS.md
- sweetalert2.d.ts
# Installation Guide
1. Get the code
git clone https://github.com/sweetalert2/sweetalert2
Downloads the entire project code from GitHub to your computer.
cd sweetalert2
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
