Octicons
Set of SVG icons built by GitHub, with helper packages for JavaScript, React and Ruby.
primer.style/octicons/repositorydocs
Octicons is GitHub’s set of SVG icons, shipped as a family of packages for JavaScript, React and Ruby. The core package is a Node.js package with a JavaScript API, the React package provides one component per icon, and the Ruby gems provide a Ruby API along with a Rails helper and a Jekyll plugin. The code page says the icons are provided as SVGs, with helpers for React and Rails projects.
Each package is installed separately from its registry, so a project takes only the helper it needs. The repository holds all of the packages together. GitHub, Inc. maintains it.
Worth knowing
The README asks users of the GitHub logos among the icons to follow the GitHub logo guidelines.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-10-27: links, Categories
primer.style/octicons/ - 2026-10-27: links, Written in, License, License model, GitHub stars
api.github.com/repos/primer/octicons - 2026-10-27: links
primer.style/octicons/code/ - 2026-10-27: First release, Current major version, Last release
api.github.com/repos/primer/octicons/releases - 2026-10-27: Maintainer, License
raw.githubusercontent.com/primer/octicons/main/README.md - 2026-10-27: Contributors
api.github.com/repos/primer/octicons/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@primer/octicons - 2026-10-27: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40primer%2Focticons - 2026-10-27: Install with
raw.githubusercontent.com/primer/octicons/main/lib/octicons_node/README.md - 2026-10-27: Install with
raw.githubusercontent.com/primer/octicons/main/lib/octicons_gem/README.md