{
 "slug": "octicons",
 "name": "Octicons",
 "author": "GitHub",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "GitHub's own icon set (16/24 px) as SVG, with JS and React packages.",
 "category": {
  "slug": "icons",
  "name": "Icons"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [
  "outline",
  "minimal"
 ],
 "logo_url": "https://agentgid.com/media/avatars/primer.png",
 "logo_letter": "O",
 "links": {
  "repo": "https://github.com/primer/octicons",
  "website": "https://primer.style/octicons",
  "api_docs": null,
  "open_model": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/octicons/demo.jpg",
  "alt": "A sidebar with six sections, a list of release checks marked passed, failed, warning, waiting and skipped, and the same 24 icons in their 16 px and 24 px drawings.",
  "caption": "Made by AgentGid with @primer/octicons 19.42.0 (npm). Octicons code and icons are under the MIT license (c) GitHub, Inc., which allows showing and copying them with the notice kept; the demo uses no GitHub logo icons."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free",
   "status": "yes",
   "sub": "No paid plan",
   "quote": null,
   "note": "Fully free.",
   "source": {
    "label": "primer.style/octicons",
    "url": "https://primer.style/octicons"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "MIT",
   "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
   "note": "MIT allows use in paid products; the GitHub logo icons follow GitHub's logo rules.",
   "source": {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": "Keep the notice in code copies",
   "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
   "note": "No credit on screen. Keep the license notice inside the code you ship.",
   "source": {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install @primer/octicons. No key or account is needed.",
   "source": {
    "label": "github.com/primer/octicons",
    "url": "https://github.com/primer/octicons"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "MIT",
  "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE",
  "summary": "Free to use in personal and paid products, and you may change and share the files. Keep the copyright and license notice with copies. The GitHub logo icons follow GitHub's own logo rules.",
  "pages_read": 1,
  "rules": [
   "Keep the license notice when you copy the source files",
   "GitHub logo/mark icons are GitHub trademarks: use them only to refer to GitHub"
  ],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": "The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "Allowed",
    "status": "yes",
    "quote": "Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software",
    "source": {
     "label": "raw.githubusercontent.com",
     "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
    },
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-05",
  "commercial_use_page": "https://agentgid.com/assets/octicons/commercial-use/"
 },
 "overview": {
  "heading": "Octicons: GitHub's own icons for developer tools",
  "body": "Octicons is the free icon set GitHub draws for its own site, with small, clean pictures for things like branches, commits, bells and settings. Every icon comes in a small and a larger drawing, so it stays crisp at its size. You or your AI assistant add them to a React, Rails or plain web project, also in paid products."
 },
 "uses": [
  {
   "title": "Icons in a React app",
   "text": "Import each icon by name, such as an arrow or a bell, and place it in a menu or button. Only the icons you use go into your app.",
   "idea": false,
   "image": null
  },
  {
   "title": "Pass, fail and warning marks",
   "text": "Show the state of a test run, a build or a task with a green check, a red cross or a yellow warning sign. GitHub's guide says which color goes with which icon.",
   "idea": false,
   "image": null
  },
  {
   "title": "Icons in pages made on a server",
   "text": "Get an icon as a finished piece of page text on the server, with a size, a style class or a label. Useful for emails, server-made pages and small scripts.",
   "idea": false,
   "image": null
  },
  {
   "title": "Icons on a Jekyll or Rails site",
   "text": "A blog or docs site built with Jekyll, or a Ruby on Rails app, gets the icons through ready add-ons instead of copying files by hand.",
   "idea": false,
   "image": null
  },
  {
   "title": "A sidebar for an internal dashboard",
   "text": "Give each section of an admin or team dashboard its own icon, like home, inbox, people and settings, in one matching style.",
   "idea": true,
   "image": null
  },
  {
   "title": "Notes and warnings in project docs",
   "text": "Mark tips, warnings and steps in the documentation of a developer project with small icons that developers already know from GitHub.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "Add Octicons with @primer/octicons-react at version 19.42.0: home, inbox, people and gear icons in the sidebar, green check, red cross and yellow alert icons for statuses with an aria-label when the icon has no text next to it, and no GitHub logo icons.",
  "install": "npm install @primer/octicons-react",
  "install_note": "Add the React package to your project (there is also @primer/octicons for plain JavaScript and a Ruby gem).",
  "code": [
   {
    "tab": "Step 1",
    "intro": "Import an icon by its name with Icon at the end and put it on the page; it is 16 px by default and takes the text color.",
    "source": "// Import the component\nimport {ArrowRightIcon} from '@primer/octicons-react'\n// Render the icon component\nconst MyComponent = () => <ArrowRightIcon />"
   },
   {
    "tab": "Without React",
    "intro": "Without React, take the ready files from build/svg in the package, or call toSVG from the plain JavaScript package.",
    "source": "npm install @primer/octicons"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "import {LogoGithub, ArrowRight} from '@primer/octicons-react'",
   "fix": "import {LogoGithubIcon, ArrowRightIcon} from '@primer/octicons-react'",
   "why": "Every React export ends in Icon; in 19.42.0 there is no LogoGithub export, although one README example still writes it that way.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "octicons.arrow-right.toSVG()",
   "fix": "octicons['arrow-right'].toSVG()",
   "why": "Names with a dash do not work with dot access in JavaScript.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Scaling the 16 px file up to 20, 32 or 48 px with CSS",
   "fix": "Use the 16 or 24 px drawing at its own size, or pass width/height to toSVG so it picks the 24 px drawing",
   "why": "The icons are drawn for fixed sizes and the guide says not to resize them.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "<button><XIcon /></button> with no label anywhere",
   "fix": "<button aria-label=\"Close\"><XIcon /></button>, or Primer's IconButton",
   "why": "Icons without a label are hidden from screen readers, so an icon-only button needs its own name.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "Using the mark-github or logo-github icon as the logo of your app",
   "fix": "Use those icons only to link to GitHub or to show a GitHub integration",
   "why": "They are GitHub trademarks with their own usage rules.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install @primer/octicons",
  "repo": "https://github.com/primer/octicons",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "npm install @primer/octicons (or @primer/octicons-react). No account.",
  "formats": [
   "svg",
   "jsx"
  ],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Icons: Octicons by GitHub (MIT)",
  "rules_text": "- Octicons (Icons). GitHub's own icon set (16/24 px) as SVG, with JS and React packages. Price: free; commercial use OK; no credit needed. Style: outline, minimal.\n  Connect: npm @primer/octicons.\n  Get files: npm install @primer/octicons (or @primer/octicons-react). No account (svg, jsx).\n  Not allowed: MIT notice in redistributed source\n  Rule: Keep the license notice when you copy the source files\n  Rule: GitHub logo/mark icons are GitHub trademarks: use them only to refer to GitHub\n  License: https://raw.githubusercontent.com/primer/octicons/main/LICENSE (checked 2026-11-05; details: https://agentgid.com/assets/octicons/)",
  "agent_md": "https://agentgid.com/assets/octicons/agent.md",
  "card_json": "https://agentgid.com/assets/octicons/card.json"
 },
 "popularity": {
  "gid_score": 43,
  "stars": 8791,
  "downloads_7d": 618966,
  "downloads_7d_label": "619K",
  "downloads_change_4w_pct": 34.3,
  "eco": "npm",
  "package": "@primer/octicons",
  "repo": "primer/octicons",
  "agent_projects": 1,
  "agent_projects_total": 4753,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-24",
     86650
    ],
    [
     "2025-12-01",
     106148
    ],
    [
     "2025-12-08",
     89109
    ],
    [
     "2025-12-15",
     83302
    ],
    [
     "2025-12-22",
     71339
    ],
    [
     "2025-12-29",
     80049
    ],
    [
     "2026-01-05",
     94007
    ],
    [
     "2026-01-12",
     89480
    ],
    [
     "2026-01-19",
     98757
    ],
    [
     "2026-01-26",
     96306
    ],
    [
     "2026-02-02",
     101571
    ],
    [
     "2026-02-09",
     119339
    ],
    [
     "2026-02-16",
     94244
    ],
    [
     "2026-02-23",
     106217
    ],
    [
     "2026-03-02",
     133746
    ],
    [
     "2026-03-09",
     134659
    ],
    [
     "2026-03-16",
     135884
    ],
    [
     "2026-03-23",
     175839
    ],
    [
     "2026-03-30",
     138329
    ],
    [
     "2026-04-06",
     141079
    ],
    [
     "2026-04-13",
     160532
    ],
    [
     "2026-04-20",
     174312
    ],
    [
     "2026-04-27",
     172893
    ],
    [
     "2026-05-04",
     195769
    ],
    [
     "2026-05-11",
     214498
    ],
    [
     "2026-05-18",
     196590
    ],
    [
     "2026-05-25",
     200510
    ],
    [
     "2026-06-01",
     207850
    ],
    [
     "2026-06-08",
     227520
    ],
    [
     "2026-06-15",
     223297
    ],
    [
     "2026-06-22",
     219406
    ],
    [
     "2026-06-29",
     245885
    ],
    [
     "2026-07-06",
     283644
    ],
    [
     "2026-07-13",
     321803
    ],
    [
     "2026-07-20",
     362554
    ],
    [
     "2026-07-27",
     384319
    ],
    [
     "2026-08-03",
     409162
    ],
    [
     "2026-08-10",
     403079
    ],
    [
     "2026-08-17",
     414317
    ],
    [
     "2026-08-24",
     470256
    ],
    [
     "2026-08-31",
     489626
    ],
    [
     "2026-09-07",
     457919
    ],
    [
     "2026-09-14",
     495690
    ],
    [
     "2026-09-21",
     505162
    ],
    [
     "2026-09-28",
     574859
    ],
    [
     "2026-10-05",
     581127
    ],
    [
     "2026-10-12",
     387842
    ],
    [
     "2026-10-19",
     465018
    ],
    [
     "2026-10-26",
     693645
    ],
    [
     "2026-11-02",
     676346
    ],
    [
     "2026-11-09",
     681005
    ],
    [
     "2026-11-16",
     647320
    ]
   ],
   "stars": [
    [
     "2026-11-07",
     8776
    ],
    [
     "2026-11-08",
     8776
    ],
    [
     "2026-11-09",
     8777
    ],
    [
     "2026-11-10",
     8778
    ],
    [
     "2026-11-11",
     8780
    ],
    [
     "2026-11-12",
     8780
    ],
    [
     "2026-11-13",
     8781
    ],
    [
     "2026-11-14",
     8781
    ],
    [
     "2026-11-15",
     8782
    ],
    [
     "2026-11-16",
     8784
    ],
    [
     "2026-11-17",
     8785
    ],
    [
     "2026-11-18",
     8785
    ],
    [
     "2026-11-19",
     8785
    ],
    [
     "2026-11-20",
     8787
    ],
    [
     "2026-11-21",
     8788
    ],
    [
     "2026-11-22",
     8788
    ],
    [
     "2026-11-23",
     8789
    ],
    [
     "2026-11-24",
     8790
    ],
    [
     "2026-11-25",
     8791
    ],
    [
     "2026-11-26",
     8791
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-26"
 },
 "alternatives": [
  {
   "slug": "octicons",
   "name": "Octicons",
   "why": null,
   "current": true,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "lucide",
   "name": "Lucide",
   "why": "Pick Lucide for a larger general set (2,029 icons in our catalog data) with ready packages for Vue, Svelte and Angular too.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "heroicons",
   "name": "Heroicons",
   "why": "Pick Heroicons when your site uses Tailwind and you want its makers' outline and solid icons for React or Vue.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "phosphor",
   "name": "Phosphor Icons",
   "why": "Pick Phosphor when you want every icon in six weights, from thin to fill.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "wordpress-dashicons",
   "name": "WordPress Icons (@wordpress/icons, successor to Dashicons)",
   "why": "WordPress's SVG icon set as an npm package, based on the older Dashicons icon font, under GPL-2.0-or-later.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "material-design-icons-pictogrammers",
   "name": "Material Design Icons (Pictogrammers)",
   "why": "Community Material Design icon set (7,000+ icons, as reported) as SVG, webfont and JS packages (@mdi/js, @mdi/font).",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  }
 ],
 "faq": [
  {
   "q": "Can I use Octicons in a paid app or a client project?",
   "a": "Yes. The MIT license allows use, copying, changing and selling, as long as the copyright and license notice stays with copies of the files."
  },
  {
   "q": "What size are the icons?",
   "a": "Each icon is drawn at 16 px and most also at 24 px; a few have a 12 px drawing for tight spots. In React the default size is 16 px."
  },
  {
   "q": "Can I change the color?",
   "a": "Yes. Icons take the color of the text around them by default; you can also pass a fill color."
  },
  {
   "q": "Can I use the GitHub logo icon as my own logo?",
   "a": "No. GitHub's logos may be used to link to GitHub or show that your project works with GitHub, not as your own logo."
  },
  {
   "q": "Will screen readers read the icons?",
   "a": "Not by default. An icon without a label is treated as decoration and hidden; add an aria-label when the icon alone carries the meaning."
  }
 ],
 "at_a_glance": {
  "latest_version": "19.42.0",
  "last_release": "2026-11-24",
  "last_commit": "2026-11-24",
  "runtime": "React 16.3+ (peer dependency react >=16.3 in the registry data for 19.42.0). Our demo used @primer/octicons 19.42.0, the plain package with build/svg and build/data.json.",
  "key_needed": false,
  "formats": "svg, jsx"
 },
 "good_to_know": [
  "The set includes GitHub's own logos, which are trademarks. Use them only to point to GitHub, never as the logo of your product or site.",
  "Icons are drawn for fixed sizes of 12, 16 and 24 pixels. GitHub's guide advises against stretching them to other sizes.",
  "Do not let your users pick these icons as their own badges or labels; the guide advises emoji for that.",
  "An icon that carries meaning needs enough contrast with its background, at least 3 to 1.",
  "No account or key is needed. The icons come with the package and are drawn in your own app."
 ],
 "stack_snippets": [],
 "claims": [],
 "checked": {
  "license_read": "2026-11-05",
  "overview_checked": "2026-11-09",
  "numbers_updated": "2026-11-26",
  "sources": [
   {
    "label": "primer.style/octicons",
    "url": "https://primer.style/octicons"
   },
   {
    "label": "primer.style/octicons/code",
    "url": "https://primer.style/octicons/code/"
   },
   {
    "label": "primer.style/octicons/design-guidelines",
    "url": "https://primer.style/octicons/design-guidelines/"
   },
   {
    "label": "primer.style/octicons/usage-guidelines",
    "url": "https://primer.style/octicons/usage-guidelines/"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/primer/octicons/blob/main/README.md"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/primer/octicons/blob/main/LICENSE"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/primer/octicons/blob/main/lib/octicons_node/README.md"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/primer/octicons/blob/main/lib/octicons_react/README.md"
   },
   {
    "label": "github.com/logos",
    "url": "https://github.com/logos"
   },
   {
    "label": "npm: @primer/octicons/latest",
    "url": "https://registry.npmjs.org/@primer/octicons/latest"
   },
   {
    "label": "npm: @primer/octicons-react/19.42.0",
    "url": "https://registry.npmjs.org/@primer/octicons-react/19.42.0"
   },
   {
    "label": "raw.githubusercontent.com",
    "url": "https://raw.githubusercontent.com/primer/octicons/main/LICENSE"
   }
  ],
  "unverified": null
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/octicons/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
