MCPcopy Index your code
hub / github.com/primer/octicons

github.com/primer/octicons @v19.29.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v19.29.1 ↗ · + Follow
18 symbols 45 edges 30 files 1 documented · 6% 31 cross-repo links updated 7d agov19.29.1 · 2026-06-29★ 8,7131 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

octicons cover light octicons cover dark

Primer Octicons

Octicons are a set of SVG icons built by GitHub for GitHub.

Libraries

This repository contains several libraries. Each of them is in the lib/ folder and gives access to Octicons on a different platform/language.

JavaScript

The octicons node.js library is the main JavaScript library. With a JavaScript API that can be used in a variety of applications.

Package Version
@primer/octicons

Node.js package with JavaScript API | npm version | | @primer/octicons-react

React Octicons components | npm version | | @primer/styled-octicons

React Octicons components with Styled System props | npm version |

Ruby

Package Version
octicons

Ruby gem with Ruby API | Gem version | | octicons_helper

Rails helper for using octicons | Gem version | | jekyll-octicons

Jekyll plugin for using octicons | Gem version |

Contributing

Feedback, ideas, and bug reports

If you found a bug, have feedback about our Octicon Library, or an idea on how to improve it, please open a new issue in this repo using the appropriate issue template.

Request an Icon Review (GitHub staff only)

To request an icon review for inclusion in the Octicons Library, open an issue using the icon review request template in github/primer.

Adding or updating an icon

Read through our contributing guide if you want to add or update icons.

License

(c) GitHub, Inc.

When using the GitHub logos, be sure to follow the GitHub logo guidelines.

Code License: MIT Applies to all other files

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Function 14
Class 2
Interface 1
Method 1

Languages

TypeScript100%

Modules by API surface

lib/octicons_react/script/build.js4 symbols
lib/octicons_react/pages/_document.mjs3 symbols
lib/octicons_react/src/createIconComponent.js2 symbols
lib/octicons_node/index.js2 symbols
lib/octicons_styled/ts-tests/index.tsx1 symbols
lib/octicons_styled/src/utils.js1 symbols
lib/octicons_react/ts-tests/index.tsx1 symbols
lib/octicons_react/src/index.d.ts1 symbols
lib/octicons_react/script/types.js1 symbols
lib/octicons_react/rollup.config.js1 symbols
lib/octicons_react/pages/index.mjs1 symbols

Dependencies from manifests, versioned

@babel/core7.24.7 · 1×
@babel/generator7.22.0 · 1×
@babel/preset-env7.24.7 · 1×
@babel/preset-react7.24.7 · 1×
@babel/types7.22.0 · 1×
@changesets/changelog-github0.4.1 · 1×
@changesets/cli2.17.0 · 1×
@github/prettier-config0.0.6 · 1×
@primer/components27.0.0 · 1×
@rollup/plugin-babel6.0.4 · 1×
@rollup/plugin-commonjs22.0.2 · 1×
@rollup/plugin-node-resolve14.1.0 · 1×

For agents

$ claude mcp add octicons \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page