{"id":30060215,"url":"https://github.com/tiaanduplessis/react-micromodal","last_synced_at":"2026-05-16T17:04:49.874Z","repository":{"id":57334574,"uuid":"179584752","full_name":"tiaanduplessis/react-micromodal","owner":"tiaanduplessis","description":"React wrapper for Micromodal.js","archived":false,"fork":false,"pushed_at":"2020-07-17T04:26:02.000Z","size":1042,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T11:12:21.702Z","etag":null,"topics":["micromodal","modal","react","react-modal","wrapper"],"latest_commit_sha":null,"homepage":"https://tiaanduplessis.github.io/react-micromodal/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tiaanduplessis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-04T22:13:06.000Z","updated_at":"2019-04-05T10:10:37.000Z","dependencies_parsed_at":"2022-09-07T17:00:33.202Z","dependency_job_id":null,"html_url":"https://github.com/tiaanduplessis/react-micromodal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tiaanduplessis/react-micromodal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-micromodal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-micromodal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-micromodal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-micromodal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiaanduplessis","download_url":"https://codeload.github.com/tiaanduplessis/react-micromodal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiaanduplessis%2Freact-micromodal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269352300,"owners_count":24402672,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["micromodal","modal","react","react-modal","wrapper"],"created_at":"2025-08-08T01:42:38.114Z","updated_at":"2026-05-16T17:04:44.835Z","avatar_url":"https://github.com/tiaanduplessis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-micromodal\n\n\u003e React wrapper for [Micromodal.js](https://micromodal.now.sh/#)\n\n[![NPM](https://img.shields.io/npm/v/react-micromodal.svg)](https://www.npmjs.com/package/react-micromodal) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n## Install\n\n```bash\nnpm install --save react-micromodal.js\n```\n\n## Usage\n\n```jsx\nimport React from 'react'\nimport ReactDOM from 'react-dom'\n\nimport Modal from 'react-micromodal'\n\nimport './index.css'\n\nexport default class App extends React.Component {\n  state = {\n    show: false,\n  }\n\n\n  componentDidMount() {\n    setTimeout(() =\u003e {\n      this.setState({ show: true })\n\n      setTimeout(() =\u003e {\n        this.setState({ show: false })\n      }, 3000)\n    }, 3000)\n\n  }\n\n  render() {\n    const { show } = this.state\n    return (\n      \u003cdiv className=\"App\"\u003e\n        \u003ch1\u003eWait for it\u003c/h1\u003e\n\n        \u003cModal\n          show={show}\n          onShow={() =\u003e console.log('Showing!')}\n          onClose={() =\u003e console.log('Closing down')}\n          disableScroll={false}\n          disableFocus={false}\n          awaitCloseAnimation={false}\n          debugMode={false}\n\n        \u003e\n          \u003ch1\u003eHello\u003c/h1\u003e\n        \u003c/Modal\u003e\n      \u003c/div\u003e\n    )\n  }\n}\n```\n\nCheck out the [MicroModal Docs](https://micromodal.now.sh/#) for more information.\n\n## License\n\nMIT © [tiaanduplessis](https://github.com/tiaanduplessis)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Freact-micromodal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiaanduplessis%2Freact-micromodal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiaanduplessis%2Freact-micromodal/lists"}