{"id":13475404,"url":"https://github.com/jessy1092/react-github-fork-ribbon","last_synced_at":"2025-07-14T22:32:41.659Z","repository":{"id":25872038,"uuid":"29312184","full_name":"jessy1092/react-github-fork-ribbon","owner":"jessy1092","description":"Pure inline style github fork ribbon on React component.","archived":false,"fork":false,"pushed_at":"2022-06-18T16:33:23.000Z","size":1243,"stargazers_count":47,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T18:37:54.618Z","etag":null,"topics":["github-fork-ribbon","react"],"latest_commit_sha":null,"homepage":"http://jessy1092.github.io/react-github-fork-ribbon/","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/jessy1092.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-15T18:42:46.000Z","updated_at":"2023-08-22T21:11:07.000Z","dependencies_parsed_at":"2022-08-06T08:00:19.785Z","dependency_job_id":null,"html_url":"https://github.com/jessy1092/react-github-fork-ribbon","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/jessy1092/react-github-fork-ribbon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessy1092%2Freact-github-fork-ribbon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessy1092%2Freact-github-fork-ribbon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessy1092%2Freact-github-fork-ribbon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessy1092%2Freact-github-fork-ribbon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jessy1092","download_url":"https://codeload.github.com/jessy1092/react-github-fork-ribbon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessy1092%2Freact-github-fork-ribbon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262791825,"owners_count":23365042,"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":["github-fork-ribbon","react"],"created_at":"2024-07-31T16:01:20.106Z","updated_at":"2025-07-14T22:32:41.625Z","avatar_url":"https://github.com/jessy1092.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"React GitHub Fork Ribbon\n=============\n[![npm][npm-image]][npm-url] [![Dependency Status][david-dm-image]][david-dm-url]\n\nPure inline style github fork ribbon on React component. The inline style css is from [\"Fork me on GitHub\" CSS ribbon](http://simonwhitaker.github.io/github-fork-ribbon-css/).\n\n|         | React = 0.12 | React = 0.13  | React \u003e= 0.14 | React \u003e= 0.17 |\n| ------- | ------------ | ------------- | ------------- | ------------- |\n| Version | \u003c= 0.2       | \u003e= 0.3 \u003c 0.5  | \u003e= 0.5        | \u003e= 0.7        |\n\n## Usage\n\n```sh\nnpm install react-github-fork-ribbon\n```\n\nEx. React 15.5\n```js\nimport React            from 'react';\nimport ReactDOM         from 'react-dom';\nimport GitHubForkRibbon from 'react-github-fork-ribbon';\n\nconst Content = () =\u003e (\n  \u003cGitHubForkRibbon href=\"//www.google.com\"\n                    target=\"_blank\"\n                    position=\"right\"\u003e\n    Fork me on GitHub\n  \u003c/GitHubForkRibbon\u003e\n);\n\nReactDOM.render(\n  \u003cContent /\u003e,\n  document.getElementById('content')\n);\n```\n\n## Attribute\n\n#### href\n\nIt would be `\u003ca\u003e` tag's attribute `href`\n\n#### target\n\nIt would be `\u003ca\u003e` tag's attribute `target`\n\n#### position\n\nIt has four positions.\n- `left`\n- `right`\n- `left-bottom`\n- `right-bottom`\n\n### color\n\nIt has four color.\n- `red`\n- `orange`\n- `black`\n- `green`\n\n#### className\n\nIt would be an html tag's attribute `class`.\n\n## Release Notes\n\nsee [CHANGELOG.md](https://github.com/jessy1092/react-github-fork-ribbon/blob/master/CHANGELOG.md)\n\n## Contribute\n[![devDependency Status][david-dm-dev-image]][david-dm-dev-url]\n\n1. Fork it.\n2. Create your feature-branch `git checkout -b your-new-feature-branch`\n3. Commit your change `git commit -am 'Add new feature'`\n4. Push to the branch `git push origin your-new-feature-branch`\n5. Create new Pull Request with `master` branch\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015-2017 Lee  \u003c jessy1092@gmail.com \u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n[react-github-fork-ribbon-url]: https://github.com/jessy1092/react-github-fork-ribbon/releases\n\n[npm-image]: https://img.shields.io/npm/v/react-github-fork-ribbon.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/react-github-fork-ribbon\n\n[david-dm-image]: https://david-dm.org/jessy1092/react-github-fork-ribbon.svg?style=flat-square\n[david-dm-url]: https://david-dm.org/jessy1092/react-github-fork-ribbon\n\n[david-dm-dev-image]: https://david-dm.org/jessy1092/react-github-fork-ribbon/dev-status.svg?style=flat-square\n[david-dm-dev-url]: https://david-dm.org/jessy1092/react-github-fork-ribbon#info=devDependencies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessy1092%2Freact-github-fork-ribbon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjessy1092%2Freact-github-fork-ribbon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessy1092%2Freact-github-fork-ribbon/lists"}