{"id":22731658,"url":"https://github.com/z4o4z/react-dribble-button","last_synced_at":"2025-04-14T00:43:43.411Z","repository":{"id":26305118,"uuid":"107902555","full_name":"z4o4z/react-dribble-button","owner":"z4o4z","description":"The Button component with pretty nice hive and click effects","archived":false,"fork":false,"pushed_at":"2022-06-26T10:18:57.000Z","size":37429,"stargazers_count":33,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T14:54:59.747Z","etag":null,"topics":["animation","animations","button","component","css3","js","react"],"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/z4o4z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-22T21:02:07.000Z","updated_at":"2023-03-05T06:02:36.000Z","dependencies_parsed_at":"2022-07-27T08:02:01.783Z","dependency_job_id":null,"html_url":"https://github.com/z4o4z/react-dribble-button","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4o4z%2Freact-dribble-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4o4z%2Freact-dribble-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4o4z%2Freact-dribble-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z4o4z%2Freact-dribble-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z4o4z","download_url":"https://codeload.github.com/z4o4z/react-dribble-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804721,"owners_count":21164127,"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":["animation","animations","button","component","css3","js","react"],"created_at":"2024-12-10T19:29:39.161Z","updated_at":"2025-04-14T00:43:43.388Z","avatar_url":"https://github.com/z4o4z.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/npm/dm/react-dribble-button.svg?style=flat-square)](https://www.npmjs.com/package/react-dribble-button)\n\n# react-dribble-button\n\nThe Button component with pretty nice hive and click effects\n\n## Installation\n\n```\n$ npm install react-dribble-button\n```\n\n## Demo\n\n[Try it out](https://z4o4z.github.io/react-dribble-button/storybook-static/index.html)\n\n| ![](./demo/demo-1.gif) | ![](./demo/demo-4.gif) |\n\n## Basic Usage\n\n```js\nimport DribbleButton from 'react-dribble-button';\n\n// Inside of a component's render() method:\nrender() {\n  return (\n    \u003cDribbleButton color=\"deep-orange\" onClick={this.onClick} animationDuration={1000} \u003e\n      Try this cool color!\n    \u003c/DribbleButton\u003e\n  );\n}\n```\n\n## Examples\n\nPlease clone the repo and run `npm run storybook` or `yarn storybook` to show examples of usages.\n\n## Usage (API)\n\nThe `DribbleButton` component has a few properties, as described below.\n\n| Property | Type | Defaut | Description |\n| -------- | ---- | -------- | ----------- |\n| `color` | `string` | `default` | The color theme. Should be one of the folowing strings: 'red' | 'pink' | 'blue' | 'cyan' | 'teal' | 'lime' | 'grey' | 'green' | 'amber' | 'brown' | 'black' | 'orange' | 'purple' | 'yellow' | 'indigo' | 'default' | 'blue-grey' | 'light-blue' | 'light-green' | 'deep-orange' | 'deep-purple\n| `onClick` | `function` | `null` | Click handler. |\n| `children` | `any` | `null` | Children element. |\n| `className` | `string` | `''` | Class name of the component. |\n| `component` | `string or Component` | `button` | Component type. |\n| `effectClassName` | `string` | `''` | Class name of the effect component. |\n| `animationDuration` | `number` | `650` | The dribble animation duration in ms. |\n\n\n## Contributing\n\nI welcome contributions! Please open an issue if you have any feature ideas\nor find any bugs. I also accept pull requests with open arms. I will\ngo over the issues when I have time. :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz4o4z%2Freact-dribble-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz4o4z%2Freact-dribble-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz4o4z%2Freact-dribble-button/lists"}