{"id":16515615,"url":"https://github.com/insin/react-octicon","last_synced_at":"2025-09-21T00:31:36.392Z","repository":{"id":34405783,"uuid":"38334532","full_name":"insin/react-octicon","owner":"insin","description":"A GitHub Octicons icon React component","archived":false,"fork":false,"pushed_at":"2017-12-01T10:29:41.000Z","size":181,"stargazers_count":73,"open_issues_count":2,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T05:33:34.968Z","etag":null,"topics":["octicons","react","react-component"],"latest_commit_sha":null,"homepage":"https://insin.github.io/react-octicon/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insin.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":"2015-06-30T21:40:33.000Z","updated_at":"2025-02-11T15:48:10.000Z","dependencies_parsed_at":"2022-08-03T20:45:13.431Z","dependency_job_id":null,"html_url":"https://github.com/insin/react-octicon","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/insin/react-octicon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-octicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-octicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-octicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-octicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insin","download_url":"https://codeload.github.com/insin/react-octicon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insin%2Freact-octicon/sbom","scorecard":{"id":489729,"data":{"date":"2025-08-11","repo":{"name":"github.com/insin/react-octicon","commit":"cefc4a523e6aedacb1a3170b306bc9b015d1d7f5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T18:45:47.644Z","repository_id":34405783,"created_at":"2025-08-19T18:45:47.645Z","updated_at":"2025-08-19T18:45:47.645Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276179298,"owners_count":25598565,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["octicons","react","react-component"],"created_at":"2024-10-11T16:17:38.667Z","updated_at":"2025-09-21T00:31:36.141Z","avatar_url":"https://github.com/insin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## react-octicon\n\n[![Travis][build-badge]][build]\n[![npm package][npm-badge]][npm]\n[![Coveralls][coveralls-badge]][coveralls]\n\nA [React](https://facebook.github.io/react/) component which renders an icon using the [GitHub Octicons](https://octicons.github.com/) icon font.\n\n![All Octicons](octicons.gif)\n\n\u003e **Note:** Github Octicons has switched from providing an icon font to being a library for generating SVG markup for string templating engines, so this component uses the last version which provided an icon font, version 4.\n\u003e\n\u003e As such, the available icons and their appearance may not match with what's on the Github Octicons documentation site.\n\u003e\n\u003e If you want to use the latest version of GitHub Octicons, try [react-octicons](https://github.com/philschatz/react-octicons) or [react-icons](https://github.com/gorangajic/react-icons) instead, both of which provide a React component for each icon which renders an SVG.\n\n### Demo\n\nhttps://insin.github.io/react-octicon/\n\n### Usage\n\n**Note: [Webpack](https://webpack.js.org) is _required_ in order to use this component.**\n\nInstall and use the Octicon component like so:\n\n```\nnpm install --save react-octicon\n```\n\n```js\nimport React from 'react'\nimport {render} from 'react-dom'\nimport Octicon from 'react-octicon'\n\nlet App = () =\u003e \u003cdiv\u003e\n  \u003cOcticon mega spin name=\"sync\"/\u003e\n\u003c/div\u003e\n\nrender(\u003cApp/\u003e, document.querySelector('#app'))\n```\n\n#### Usage with nwb\n\nIf you use [nwb](https://github.com/insin/nwb) to build and serve the React app you're using this component in, it will automatically configure Webpack to handle CSS, image and font dependencies for you.\n\n#### Usage with Webpack\n\nThis component handles the Octicons CSS dependency for you, but you must use Webpack and configure it to handle CSS and associated font and image files.\n\nFor example, using the following webpack loaders:\n\n```\nnpm install --save-dev css-loader file-loader style-loader\n```\n\n```js\nmodule: {\n  rules: [\n    {\n      test: /\\.css$/,\n      use: [\n        'style-loader',\n        'css-loader'\n      ]\n    },\n    {\n      test: /\\.(eot|otf|svg|ttf|woff|woff2)$/,\n      use: 'file-loader'\n    }\n  ]\n}\n```\n\nSee Webpack's [Loading CSS documentation](https://webpack.js.org/guides/asset-management/#loading-css) for more info.\n\n### Required props\n\nProp | Description\n---- | -------------\n`name` | The name of an icon in the Octicons set, e.g. `'trashcan'`\n\n### Other props\n\nProp | Description\n---- | -------------\n`className` | An additional class name for the element rendered by the component\n`mega` | If `true`, a double-size icon will be displayed\n`spin` | If `true`, the icon will spin\n\nAny additional props given, such as event handlers or `aria-*` attributes, will be passed to the element rendered by the component.\n\n## MIT licensed\n\n[build-badge]: https://img.shields.io/travis/insin/react-octicon/master.svg?style=flat-square\n[build]: https://travis-ci.org/insin/react-octicon\n\n[npm-badge]: https://img.shields.io/npm/v/react-octicon.svg?style=flat-square\n[npm]: https://www.npmjs.org/package/react-octicon\n\n[coveralls-badge]: https://img.shields.io/coveralls/insin/react-octicon/master.svg?style=flat-square\n[coveralls]: https://coveralls.io/github/insin/react-octicon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsin%2Freact-octicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsin%2Freact-octicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsin%2Freact-octicon/lists"}