{"id":13494394,"url":"https://github.com/minutemailer/react-popup","last_synced_at":"2025-05-05T01:14:29.966Z","repository":{"id":23024088,"uuid":"26376651","full_name":"minutemailer/react-popup","owner":"minutemailer","description":"React popup component","archived":false,"fork":false,"pushed_at":"2023-09-21T11:35:58.000Z","size":6538,"stargazers_count":210,"open_issues_count":9,"forks_count":71,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-05T01:14:11.186Z","etag":null,"topics":["alert","component","es6","javascript","modal","popover","popup","popup-box","promt","react"],"latest_commit_sha":null,"homepage":"http://minutemailer.github.io/react-popup/","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/minutemailer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-08T22:18:30.000Z","updated_at":"2025-04-24T14:36:52.000Z","dependencies_parsed_at":"2024-06-18T13:41:46.144Z","dependency_job_id":null,"html_url":"https://github.com/minutemailer/react-popup","commit_stats":{"total_commits":108,"total_committers":13,"mean_commits":8.307692307692308,"dds":"0.42592592592592593","last_synced_commit":"20a503fca6da12228b3e581d31087329cd499cd0"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minutemailer%2Freact-popup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minutemailer%2Freact-popup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minutemailer%2Freact-popup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minutemailer%2Freact-popup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minutemailer","download_url":"https://codeload.github.com/minutemailer/react-popup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252420924,"owners_count":21745154,"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":["alert","component","es6","javascript","modal","popover","popup","popup-box","promt","react"],"created_at":"2024-07-31T19:01:24.633Z","updated_at":"2025-05-05T01:14:29.855Z","avatar_url":"https://github.com/minutemailer.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://minutemailer.github.io/react-popup/logo.png\" alt=\"React Popup\" /\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/react-popup\"\u003e\n        \u003cimg src=\"https://camo.githubusercontent.com/5e686c4eb8e3c65a53788a9de5d9f100cb803238/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f72656163742d706f7075702e7376673f6d61784167653d3836343030\" alt=\"npm\" data-canonical-src=\"https://img.shields.io/npm/v/react-popup.svg?maxAge=86400\" style=\"max-width:100%;\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/react-popup\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dm/react-popup.svg?maxAge=86400\" alt=\"npm\" style=\"max-width:100%;\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/react-popup\"\u003e\n        \u003cimg src=\"https://camo.githubusercontent.com/99c9f0ca43fd6c2dd1c956ffc1cb48c74aa2e88d/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f72656163742d706f7075702e7376673f6d61784167653d3836343030\" alt=\"npm\" data-canonical-src=\"https://img.shields.io/npm/l/react-popup.svg?maxAge=86400\" style=\"max-width:100%;\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    Simple and powerful react popup component. \u003cbr\u003ePart of \u003ca href=\"https://minutemailer.com\"\u003eMinutemailer.com\u003c/a\u003e - Marketing Simplified\n\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n## Breaking changes in 0.9.x\n\nThe popup and overlay is now two separate layers to allow more customization. See [demo css](https://github.com/minutemailer/react-popup/blob/gh-pages/popup.example.css) for styling example.\n\n## Global API approach\n\nThe idea behind `react-popup` is to use it as a drop-in replacement for the native `window.alert`. With the similarity of only displaying one popup at a time. This is why we use a global API to control the component instead of rendering it inside components. Maybe this is an anti-pattern, maybe it's not. Feel free to discuss it by opening an issue if one doesn't already exist.\n\n## Install\n\nInstall it with npm (or yarn) (`npm install react-popup --save`). The component is API driven and means that you only render it once, on a global level. Here's a simple example:\n\n```jsx\nimport React from 'react';\nimport ReactDom from 'react-dom';\nimport Popup from 'react-popup';\n\nReactDom.render(\n    \u003cPopup /\u003e,\n    document.getElementById('popupContainer')\n);\n\nPopup.alert('Hello');\n```\n\n## Documentation\n\nDocumentation and demo can be found here: http://minutemailer.github.io/react-popup/\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://minutemailer.com\"\u003e\u003cimg src=\"http://minutemailerlive.s3.amazonaws.com/Minutemailer-blue-RGB.svg\" width=\"400\" alt=\"Minutemailer\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminutemailer%2Freact-popup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminutemailer%2Freact-popup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminutemailer%2Freact-popup/lists"}