{"id":21314450,"url":"https://github.com/polyconseil/react-bubble","last_synced_at":"2025-07-12T01:31:15.585Z","repository":{"id":143904853,"uuid":"64846284","full_name":"Polyconseil/react-bubble","owner":"Polyconseil","description":"A simple and customizable bubble for react","archived":false,"fork":false,"pushed_at":"2020-08-11T12:35:13.000Z","size":1901,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-06-28T18:09:04.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://polyconseil.github.io/react-bubble/","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/Polyconseil.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-03T13:00:16.000Z","updated_at":"2020-04-22T11:15:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"03ba5f58-53e1-46db-9207-317142601466","html_url":"https://github.com/Polyconseil/react-bubble","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.4375,"last_synced_commit":"da97c84e60f9531761ee652f69e9cffe183a4787"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Polyconseil/react-bubble","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Freact-bubble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Freact-bubble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Freact-bubble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Freact-bubble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polyconseil","download_url":"https://codeload.github.com/Polyconseil/react-bubble/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polyconseil%2Freact-bubble/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923080,"owners_count":23683716,"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-21T18:13:01.201Z","updated_at":"2025-07-12T01:31:14.990Z","avatar_url":"https://github.com/Polyconseil.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-bubble\n\nA simple and customizable bubble for react\n\n## Example\n\n![Example](https://github.com/Polyconseil/react-bubble/raw/master/examples/images/simple_example.png \"Simple bubble\")\n\nThe bubble points to its parent :\n\n```playground_norender\nconst Demo = () =\u003e (\n    \u003cspan\u003e\n      Text to bubble\n      \u003cBubble width={250} height={80}\u003e\n        Content Test\n      \u003c/Bubble\u003e\n    \u003c/span\u003e   \n);\n\nReactDOM.render(\u003cDemo /\u003e, mountNode);\n    \n    \n```\n\n## Installation\n\n```\nnpm install --save react-bubble\n```\n\n## Style\n\nIf you customize the arrow style, I strongly recommend you to override the delta rendering with customArrowRenderWithDelta since Bubble won't know the logic of the transformation.\n\n### Default style properties\n\n```javascript\n{\n  container: {\n    position: 'fixed',\n    backgroundColor: 'rgb(238, 238, 238)',\n    minHeight: 70,\n    display: 'flex',\n    boxShadow: 'rgba(0, 0, 0, 0.2) 2px 0px 10px 2px',\n    borderRadius: 2,\n  },\n  arrow: {\n    left: {\n      right: '100%',\n      top: 5,\n      borderTopWidth: 0,\n      borderTopColor: 'transparent',\n      borderRightWidth: 10,\n      borderRightColor: 'rgb(32,166,181)',\n      borderBottomWidth: 10,\n      borderBottomColor: 'transparent',\n      borderLeftWidth: 0,\n      borderLeftColor: 'transparent',\n    },\n    right: {\n      left: '100%',\n      top: 5,\n      borderTopWidth: 10,\n      borderTopColor: 'rgb(32,166,181)',\n      borderRightWidth: 10,\n      borderRightColor: 'transparent',\n      borderBottomWidth: 0,\n      borderBottomColor: 'transparent',\n      borderLeftWidth: 0,\n      borderLeftColor: 'transparent',\n    },\n  },\n  bar: {\n    width: 10,\n    backgroundColor: 'rgb(32,166,181)',\n    position: 'relative',\n  },\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Freact-bubble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolyconseil%2Freact-bubble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolyconseil%2Freact-bubble/lists"}