{"id":18337359,"url":"https://github.com/bigfanjs/react-explode","last_synced_at":"2025-04-09T14:12:32.300Z","repository":{"id":32608457,"uuid":"137955989","full_name":"bigfanjs/react-explode","owner":"bigfanjs","description":"a collection of explosion animations made in SVG and GSAP","archived":false,"fork":false,"pushed_at":"2023-01-06T01:45:49.000Z","size":1274,"stargazers_count":155,"open_issues_count":23,"forks_count":7,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-02T08:48:39.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bigfanjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-19T23:27:05.000Z","updated_at":"2025-03-27T05:37:46.000Z","dependencies_parsed_at":"2023-01-14T21:45:54.414Z","dependency_job_id":null,"html_url":"https://github.com/bigfanjs/react-explode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigfanjs%2Freact-explode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigfanjs%2Freact-explode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigfanjs%2Freact-explode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigfanjs%2Freact-explode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigfanjs","download_url":"https://codeload.github.com/bigfanjs/react-explode/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054195,"owners_count":21039952,"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":[],"created_at":"2024-11-05T20:10:52.796Z","updated_at":"2025-04-09T14:12:32.264Z","avatar_url":"https://github.com/bigfanjs.png","language":"JavaScript","readme":"# React-explode\n\nReact Explode is a collection of explosion animations made in SVG and GSAP.\n[See a demo](https://bigfanjs.github.io/react-explode-demo/)\n\n# Installation\n\n`npm install react-explode` or `yarn add react-explode`\n\n# Usage\n\n```js\nimport React, { Component } from \"react\";\nimport Explosion from \"react-explode/Explosion1\";\n\nclass ReactExplode extends Component {\n  render() {\n    return \u003cExplosion size=\"400\" delay={0} repeatDelay={0} repeat={5} /\u003e;\n  }\n}\n```\n\n# Component API\n\n| Name        |  Type  |   Default |                       Description                        |\n| ----------- | :----: | --------: | :------------------------------------------------------: |\n| size        | string |       400 |                    The explosion size                    |\n| delay       | number |         0 | How much time the explosion would wait before it starts  |\n| repeatDelay | number |         0 | How much time the explosion would wait before it repeats |\n| repeat      | number |         0 |           How many times the explosion repeats           |\n| color       | string |     white | The explosion color(Explosions: 1, 2, 3, 4, 5, 6, 7, 8)  |\n| style       | object | undefined |             The style passed to SVG element              |\n| onComplete  |  func  | undefined |            Fired when the explosion completes            |\n| onRepeat    |  func  | undefined |             Fired when the explosion repeats             |\n| onStart     |  func  | undefined |             Fired when the explosion starts              |\n\n# Where to use react-explode\n\nThere are bunch of use case where you can use the explosions:\n\n- loading indicators.\n- infinite loop in the background.\n- explode at the end of an operation.\n- explode on user actions like mouse clicks.\n\n# License\n\n`react-explode` is under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigfanjs%2Freact-explode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigfanjs%2Freact-explode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigfanjs%2Freact-explode/lists"}