{"id":13398025,"url":"https://github.com/sweetalert2/sweetalert2","last_synced_at":"2025-05-12T18:17:44.763Z","repository":{"id":25321322,"uuid":"28748255","full_name":"sweetalert2/sweetalert2","owner":"sweetalert2","description":"✨ A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies. 🇺🇦🇪🇺","archived":false,"fork":false,"pushed_at":"2025-05-10T09:00:05.000Z","size":21457,"stargazers_count":17695,"open_issues_count":13,"forks_count":1632,"subscribers_count":216,"default_branch":"main","last_synced_at":"2025-05-12T18:15:51.703Z","etag":null,"topics":["accessible","alert","angular","confirm","confirmation-dialog","dialog","modal","notifications","popup","prompt","react","sweetalert","sweetalert2","toast","vue","wai-aria"],"latest_commit_sha":null,"homepage":"https://sweetalert2.github.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sweetalert2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"limonte"}},"created_at":"2015-01-03T16:15:52.000Z","updated_at":"2025-05-12T03:02:17.000Z","dependencies_parsed_at":"2023-10-20T23:18:30.698Z","dependency_job_id":"a36951f4-3c41-4e57-8518-9976fbb11416","html_url":"https://github.com/sweetalert2/sweetalert2","commit_stats":{"total_commits":3185,"total_committers":131,"mean_commits":24.31297709923664,"dds":0.2850863422291994,"last_synced_commit":"076295efd8acd795b3d49b8dfb2319cc65da7367"},"previous_names":["limonte/sweetalert2"],"tags_count":797,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweetalert2%2Fsweetalert2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweetalert2%2Fsweetalert2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweetalert2%2Fsweetalert2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sweetalert2%2Fsweetalert2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sweetalert2","download_url":"https://codeload.github.com/sweetalert2/sweetalert2/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253795162,"owners_count":21965488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accessible","alert","angular","confirm","confirmation-dialog","dialog","modal","notifications","popup","prompt","react","sweetalert","sweetalert2","toast","vue","wai-aria"],"created_at":"2024-07-30T18:02:02.518Z","updated_at":"2025-05-12T18:17:44.753Z","avatar_url":"https://github.com/sweetalert2.png","language":"JavaScript","funding_links":["https://github.com/sponsors/limonte"],"categories":["JavaScript","UI Components","Modals and Popups","前端常用","前端开发框架及项目","angular","Other Components","vue","Components \u0026\u0026 Librarys"],"sub_categories":["Overlay","Other","其他_文本生成、文本对话","Notification, Snackbar and Toast","Dialog"],"readme":"\u003ca href=\"https://sweetalert2.github.io/\"\u003e\n  \u003cimg src=\"./assets/swal2-logo.png\" width=\"498\" alt=\"SweetAlert2\"\u003e\n\u003c/a\u003e\n\nA beautiful, responsive, customizable, accessible (WAI-ARIA) replacement \u003cbr\u003e for JavaScript's popup boxes. Zero dependencies.\n\n---\n\n### [Installation](https://sweetalert2.github.io/#download) | [Usage](https://sweetalert2.github.io/#usage) | [Examples](https://sweetalert2.github.io/#examples) | [Recipe gallery](https://sweetalert2.github.io/recipe-gallery/) | [React](https://github.com/sweetalert2/sweetalert2-react-content) | [Angular](https://github.com/sweetalert2/ngx-sweetalert2) | [Laravel](https://github.com/sweetalert2/sweetalert2-laravel)\n\n---\n\n✨ 🚀 ✨ Get 20% discount on Hostiger Web Hosting: https://hostinger.com/?REFERRALCODE=BKZHOSTINDAB\n\n# Sponsors\n\nFor all questions related to sponsorship please get in touch with me via email sweetalert2@gmail.com\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"SPONSORS.md#sponsors\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/plus.png\" width=\"80\"\u003e\u003cbr\u003eBecome a sponsor\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.inksonic.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/inksonic.png\" width=\"80\"\u003e\u003cbr\u003eInkSonic\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://bluehive.com/?utm_source=sweetalert2\u0026utm_medium=sponsored\u0026utm_campaign=listing\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/bluehive.png\" width=\"80\"\u003e\u003cbr\u003eOccupational Healthcare\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://boilerplatehub.com/?utm_source=sweetalert2\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/boilerplatehub.jpg\" width=\"80\"\u003e\u003cbr\u003eBuild your SaaS or App\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://ssmarket.net/buy-youtube-views\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/ssmarket.png\" width=\"80\"\u003e\u003cbr\u003eBuy Youtube Views\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.coinbit.fi/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/coinbit.png\" width=\"80\"\u003e\u003cbr\u003eKryptovaluutat\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://dlxplugins.com/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/106675919?s=200\u0026v=4\" width=\"80\"\u003e\u003cbr\u003eDLX Plugins\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/tiagostutz\"\u003e\u003cimg src=\"https://avatars0.githubusercontent.com/u/3986989?s=80\u0026v=4\" width=\"80\"\u003e\u003cbr\u003eTiago de Oliveira Stutz\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://roboflow.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/roboflow.png\" width=\"80\"\u003e\u003cbr\u003eRoboflow\u003c/a\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.zezelife.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/zezelife.png\" width=\"80\"\u003e\u003cbr\u003eZezeLife\u003c/a\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.realspyapps.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/realspyapps.jpeg\" width=\"80\"\u003e\u003cbr\u003eReal Spy Apps\u003c/a\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://celltrackingapps.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/celltrackingapps.png\" width=\"80\"\u003e\u003cbr\u003ePhone Tracking Apps\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n# NSFW Sponsors\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"SPONSORS.md#sponsors\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/plus.png\" width=\"80\"\u003e\u003cbr\u003eBecome a NSFW sponsor\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.xndoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/xndoll.png\" width=\"80\"\u003e\u003cbr\u003eXNDOLL\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.pidoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/pidoll.png\" width=\"80\"\u003e\u003cbr\u003ePIDOLL\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.fantasywives.com/cheap-sex-dolls/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/fantasywives.png\" width=\"80\"\u003e\u003cbr\u003eCheap sex dolls\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://tabootwin.com?utm_source=sweetalert\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/tabootwin.png\" width=\"80\"\u003e\u003cbr\u003eTabooTwin \u003cbr\u003e AI Girlfriend\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://huntlocals.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/huntlocals.png\" width=\"80\"\u003e\u003cbr\u003eHuntLocals\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://siteshartbandi.co/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/siteshartbandi.png\" width=\"80\"\u003e\u003cbr\u003e\u003cspan dir=\"rtl\"\u003eسایت شرط بندی\u003c/span\u003e\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.sosexdoll.com/cheap-sex-doll\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/sosexdoll.png\" width=\"80\"\u003e\u003cbr\u003eSoSexDoll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://aeroescorts.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/aeroescorts.png\" width=\"80\"\u003e\u003cbr\u003eAeroEscorts\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.hismith.co.uk/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/hismith.png\" width=\"80\"\u003e\u003cbr\u003eHismith\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://dollauthority.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/dollauthority.png\" width=\"80\"\u003e\u003cbr\u003eDoll Authority\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://dreamlovedoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/dreamlovedoll.jpg\" width=\"80\"\u003e\u003cbr\u003eDreamLoveDoll\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.sexdollpartner.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/sexdollpartner.jpg\" width=\"80\"\u003e\u003cbr\u003eSexDollPartner\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.xspacecup.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/xspacecup.png\" width=\"80\"\u003e\u003cbr\u003eXspaceCup\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.cheapestsexdolls.com\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/cheapestsexdolls.png\" width=\"80\"\u003e\u003cbr\u003eCheapestSexDolls\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://nakedoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/nakedoll.png\" width=\"80\"\u003e\u003cbr\u003eNakeDoll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.onahole.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/onahole.png\" width=\"80\"\u003e\u003cbr\u003ehentai sex toys\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://vsdoll.net/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/vsdoll.png\" width=\"80\"\u003e\u003cbr\u003eVSDoll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.sextorso.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/sextorso.png\" width=\"80\"\u003e\u003cbr\u003esexdoll torso\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.minisexdoll.com/anime-sexdoll/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/minisexdoll.png\" width=\"80\"\u003e\u003cbr\u003eanime sexdoll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.myminisexdoll.com/under-300/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/myminisexdoll.png\" width=\"80\"\u003e\u003cbr\u003echeap sexdoll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.hugedildo.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/hugedildo.png\" width=\"80\"\u003e\u003cbr\u003ehuge dildo\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.uusexdoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/uusexdoll.png\" width=\"80\"\u003e\u003cbr\u003esexdoll\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://cutesexdoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/cutesexdoll.jpg\" width=\"80\"\u003e\u003cbr\u003eCute Sex Doll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.uusextoy.com/best-pocket-pussy/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/uusextoy.png\" width=\"80\"\u003e\u003cbr\u003ebest pocket pussy\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.lovedolltorso.com/female-torso-sex-doll/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/lovedolltorso.png\" width=\"80\"\u003e\u003cbr\u003efemale torso sex doll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.mymasturbators.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/mymasturbators.png\" width=\"80\"\u003e\u003cbr\u003emale masturbator\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.buypenispump.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/buypenispump.png\" width=\"80\"\u003e\u003cbr\u003epenis pump\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.bestrealdoll.com/collections/us-warehouse\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/bestrealdoll.jpeg\" width=\"80\"\u003e\u003cbr\u003eBestRealDoll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.sexdolltech.com/product-category/us-warehouse/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/sexdolltech.jpeg\" width=\"80\"\u003e\u003cbr\u003eSexDollTech\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.sexdollsoff.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/sexdollsoff.png\" width=\"80\"\u003e\u003cbr\u003eSexDollsOff\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://realsexdoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/realsexdoll.png\" width=\"80\"\u003e\u003cbr\u003eRealSexDoll\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.yourdoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/yourdoll.jpg\" width=\"80\"\u003e\u003cbr\u003eYour Doll\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://anniesdollhouse.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/annies-dollhouse.png\" width=\"80\"\u003e\u003cbr\u003eAnnie's Dollhouse\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://sextoycollective.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/sextoycollective.jpg\" width=\"80\"\u003e\u003cbr\u003eSTC\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://doctorclimax.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/doctorclimax.png\" width=\"80\"\u003e\u003cbr\u003eDoctorClimax\u003c/a\u003e\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\u003ca href=\"https://www.bsdoll.com/\"\u003e\u003cimg src=\"https://sweetalert2.github.io/images/sponsors/bsdoll.jpg\" width=\"80\"\u003e\u003cbr\u003eBSDoll\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n---\n\n# Important notice about the usage of this software for `.ru`, `.su`, `.by`, and `.рф` domain zones\n\nAs a consequence of the illegal war in Ukraine, the behavior of this repository and related npm package [sweetalert2](https://www.npmjs.com/package/sweetalert2) is different for `.ru`, `.su`, `.by`, and `.рф` domain zones.\n\nIncluding this software in any domain in `.ru`, `.su`, `.by`, and `.рф` domain zones will block the website navigation and play the national anthem of Ukraine.\n\nThis behavior is classified as [protestware](https://snyk.io/blog/protestware-open-source-types-impact/) and this project is listed in [GitHub Advisory Database](https://github.com/advisories/GHSA-mrr8-v49w-3333) and [Snyk Vulnerability DB](https://security.snyk.io/package/npm/sweetalert2/11.5.2).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweetalert2%2Fsweetalert2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsweetalert2%2Fsweetalert2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsweetalert2%2Fsweetalert2/lists"}