GitHub Icon
High-quality GitHub transparent PNG for web & print.
Optimized GitHub SVG vector code for developers.
Ready-to-use GitHub React icon component.
Use GitHub in a generated UI
Turn this icon into a login page, dashboard, landing page, or integration screen.
How to use the GitHub Icon
Copy the GitHub icon as inline SVG, React code, HTML embed, or CSS mask.
Inline SVG
Paste the GitHub SVG directly into HTML or JSX.
React Component
Use GitHub as a typed React icon component.
import React from 'react';
export const GitHubIcon = ({ className = "w-6 h-6" }: { className?: string }) => (
);HTML Embed
Use a hosted GitHub icon URL with attribution.
CSS Mask
Use GitHub as a colorable CSS mask icon.
.github-icon {
display: inline-block;
width: 32px;
height: 32px;
background-color: #000000;
mask: url("https://www.aiuidesigner.com/icons/github.svg") center / contain no-repeat;
-webkit-mask: url("https://www.aiuidesigner.com/icons/github.svg") center / contain no-repeat;
}GitHub Icon Details
Brand color
Category
Development
Formats
SVG, PNG, React, HTML, CSS mask
SVG viewBox
0 0 24 24
SVG file
822 B · 1 path
License
Check brand guidelines
Source
github.comBrand guidelines
github.comAbout the GitHub Icon
The GitHub icon is available here as a brand icon asset in SVG format. It is categorized under Development and uses the brand color #181717. You can download it as a transparent PNG, copy the inline SVG, copy a React component, or embed it with HTML.
Use the source and brand guideline links on this page to verify current trademark usage rules before using the GitHub logo in commercial projects, documentation, UI mockups, or marketing pages.
GitHub Icon Frequently Asked Questions
Design a UI with the GitHub icon
Generate a complete page that already uses this icon, color, and brand context.