{"id":13809338,"url":"https://github.com/rwu823/react-ripples","last_synced_at":"2025-04-04T20:16:05.380Z","repository":{"id":8979324,"uuid":"60410744","full_name":"rwu823/react-ripples","owner":"rwu823","description":":swimmer: Material ripple effect. Ripples everything","archived":false,"fork":false,"pushed_at":"2023-12-15T02:38:31.000Z","size":4851,"stargazers_count":200,"open_issues_count":24,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-28T19:12:42.627Z","etag":null,"topics":["button","material","react","ripple"],"latest_commit_sha":null,"homepage":"https://rwu823.github.io/react-ripples","language":"TypeScript","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/rwu823.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}},"created_at":"2016-06-04T13:03:47.000Z","updated_at":"2025-01-17T19:49:08.000Z","dependencies_parsed_at":"2023-12-15T03:37:07.334Z","dependency_job_id":"69fd810c-0b23-4912-899a-b7821238448a","html_url":"https://github.com/rwu823/react-ripples","commit_stats":{"total_commits":109,"total_committers":4,"mean_commits":27.25,"dds":0.5045871559633027,"last_synced_commit":"ae0d5e07b0d55653f8f46b87184729d25da56105"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwu823%2Freact-ripples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwu823%2Freact-ripples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwu823%2Freact-ripples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rwu823%2Freact-ripples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rwu823","download_url":"https://codeload.github.com/rwu823/react-ripples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247242682,"owners_count":20907134,"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":["button","material","react","ripple"],"created_at":"2024-08-04T01:02:20.018Z","updated_at":"2025-04-04T20:16:05.358Z","avatar_url":"https://github.com/rwu823.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","React 相关"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cimg width=\"200\" src=\"./static/logo.png\"/\u003e\n  \u003cp\u003ereact-ripples\u003c/p\u003e\n  \u003ca href=\"https://circleci.com/gh/rwu823/react-ripples\" alt=\"Build Status\"\u003e\n    \u003cimg src=\"https://img.shields.io/circleci/build/github/rwu823/react-ripples/master?style=for-the-badge\u0026logo=circleci\" /\u003e\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.org/package/react-ripples\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/react-ripples?style=for-the-badge\u0026logo=npm\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/github/rwu823/react-ripples\"\u003e\n    \u003cimg src=\"https://img.shields.io/codecov/c/github/rwu823/react-ripples/master?style=for-the-badge\u0026logo=codecov\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/bundlephobia/minzip/react-ripples?style=for-the-badge\u0026logo=webpack\" /\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003e\n  \u003csub\u003eMaterial ripple effect, ripples everywhere\u003c/sub\u003e\n\u003c/h4\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"https://rwu823.github.io/react-ripples\"\u003eLive Demo\u003c/a\u003e\n\u003c/h3\u003e\n\n## Attraction\n\n- ✅ Zero dependencies\n- 🚀 Tiny and blazing fast (Pure Component)\n- ⚡ Typescript and definition file supported\n- 🎨 Pure CSS animation\n- 🌍 SSR supported\n\n## Installation\n\n```sh\n$ npm install --save react-ripples\n```\n\nor\n\n```sh\n$ yarn add react-ripples\n```\n\n## Usage\n\n```jsx\nimport Ripples from 'react-ripples'\n\nrender() {\n  \u003cRipples\u003e\n    \u003cbutton\u003eRipple Button\u003c/button\u003e\n  \u003c/Ripples\u003e\n}\n```\n\n## API\n\n### createRipples([defaultProps])\n\nExtends default props without HOC\n\n```jsx\nimport { createRipples } from 'react-ripples'\n\nconst MyRipples = createRipples({\n  color: 'purple',\n  during: 2200,\n})\n```\n\n### Props\n\n```javascript\nstatic propTypes = {\n  during: PropTypes.number,\n  color: PropTypes.string,\n}\n\nstatic defaultProps = {\n  during: 600,\n  color: 'rgba(0, 0, 0, .3)',\n}\n```\n\n| Property | Description                   |\n| -------- | ----------------------------- |\n| during   | The css animate duration [ms] |\n| color    | The ripple's background color |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwu823%2Freact-ripples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frwu823%2Freact-ripples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frwu823%2Freact-ripples/lists"}