{"id":18841834,"url":"https://github.com/ibraabukaff/react-vibes","last_synced_at":"2026-04-24T12:33:21.073Z","repository":{"id":57347345,"uuid":"135033479","full_name":"ibraAbuKaff/react-vibes","owner":"ibraAbuKaff","description":"React JS - Add Reactions To Your Content or WebPages","archived":false,"fork":false,"pushed_at":"2018-05-27T09:45:34.000Z","size":135,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T16:40:14.063Z","etag":null,"topics":["amused","angry","emoticon","emotion","happy","inlove","react","reactions","reactjs","sad","shocked","vibes"],"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/ibraAbuKaff.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}},"created_at":"2018-05-27T09:41:56.000Z","updated_at":"2019-05-16T05:50:12.000Z","dependencies_parsed_at":"2022-08-28T03:01:07.310Z","dependency_job_id":null,"html_url":"https://github.com/ibraAbuKaff/react-vibes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibraAbuKaff%2Freact-vibes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibraAbuKaff%2Freact-vibes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibraAbuKaff%2Freact-vibes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibraAbuKaff%2Freact-vibes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibraAbuKaff","download_url":"https://codeload.github.com/ibraAbuKaff/react-vibes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780122,"owners_count":19695734,"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":["amused","angry","emoticon","emotion","happy","inlove","react","reactions","reactjs","sad","shocked","vibes"],"created_at":"2024-11-08T02:52:45.584Z","updated_at":"2026-04-24T12:33:21.024Z","avatar_url":"https://github.com/ibraAbuKaff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-vibes\nReact JS - Add Reactions To Your Content or WebPages\n\n\u003ch2\u003eHow to install ?\u003c/h2\u003e \n\u003cpre\u003e\nyarn add react-vibes\n\u003c/pre\u003e\n\n\u003ch2\u003eExample:\u003c/h2\u003e\n\n![https://imgur.com/a/lXdyFpR](./example-pics/ss1.png)\n\n\u003ch1\u003eHow to use it ? \u003c/h1\u003e\n\n```\nimport React, {Component} from \"react\";\nimport {ReactVibes} from \"react-vibes\";\n\nclass App extends Component {\n\n    constructor() {\n        super();\n        this.onClickEmoji = this.onClickEmoji.bind(this);\n    }\n\n    onClickEmoji = (e) =\u003e {\n        console.log(e.emoji);\n        console.log(e.counter);\n    };\n\n    render() {\n        return (\n            \u003cdiv className=\"App\"\u003e\n\n                \u003cdiv style={{marginLeft: \"600px\", marginTop: \"200px\"}}\u003e\n\n                    \u003cReactVibes\n                        //showAllExcept={ [\"happy\", \"amused\", \"inLove\", \"shocked\", \"angry\", \"sad\"] }\n                        //showAllExcept={[\"shocked\", \"angry\",]}\n\n                        //initialize Counters\n                        happyCounter={100}\n                        amusedCounter={0}\n                        inLoveCounter={200}\n                        shockedCounter={12}\n                        //angryCounter={0}\n                        sadCounter={0}\n\n                        //handle the event of clicks\n                        onClick={this.onClickEmoji}\n\n                    /\u003e\n                \u003c/div\u003e\n\n            \u003c/div\u003e\n        );\n    }\n}\n\nexport default App;\n\n```\n\n\n\n\u003ch1\u003eAvailable Options\u003c/h1\u003e\n\n===================================\n\u003ch4\u003eYou can init the counters by passing props as the following:\u003c/h4\u003e\n\n```\n\u003cReactVibes\n\nhappyCounter={100}\namusedCounter={0}\ninLoveCounter={200}\nshockedCounter={12}\nangryCounter={0}\nsadCounter={0}\n/\u003e\n\n```\n\n===================================\n\u003ch4\u003eYou can show all emojies except some specific ones; for example we don't want to show `amused, and happy`  :\u003c/h4\u003e\n\n```\n\u003cReactVibes\n\nshowAllExcept={ [\"happy\", \"amused\"] }\n\n /\u003e\n```\n\n===================================\n\u003ch4\u003eThere also an event (onClick), using it you can access the current clicked emoji, and the current counter for it:\u003c/h4\u003e\n\n```\nonClickEmoji = (e) =\u003e {\n        console.log(e.emoji);\n        console.log(e.counter);\n    };\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibraabukaff%2Freact-vibes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibraabukaff%2Freact-vibes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibraabukaff%2Freact-vibes/lists"}