github icon
github from Pixelarticons by Gerrit Halfmann · Regular · MIT Free for personal and commercial use.
- Name
- github
- Set
- Pixelarticons
- Style
- Regular
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
github-fillAkar IconsgithubBootstrap IconsgithubBoxicons BrandsgithubDevicongithub-fillEva IconsgithubFont Awesome 6 BrandsgithubFeather IconsgithubHuge IconsgithubIconoirgithubJam IconsgithubLine AwesomegithubMaterial Line IconsgithubSVG LogosgithubLucidegithubMage IconsgithubMaterial Design Iconsgithub-fillMingCute IcongithubOpenMojigithub-fillRemix IcongithubSimple Iconsgithub-darkSkill Iconsgithub-outlineTeenyiconsgithubUniconsgithubUnicons Monochrome
Related icons in Pixelarticons
Use the github icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 2h4v2H7v2H5zm0 10H3V6h2zm2 2H5v-2h2zm2 2v-2H7v2H3v-2H1v2h2v2h4v4h2v-4h2v-2zm0 0v2H7v-2zm6-12v2H9V4zm4 2h-2V4h-2V2h4zm0 6V6h2v6zm-2 2v-2h2v2zm-2 2v-2h2v2zm0 2h-2v-2h2zm0 0h2v4h-2z"/></svg>
React
import type { SVGProps } from "react";
export function PixelarticonsGithub(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 2h4v2H7v2H5zm0 10H3V6h2zm2 2H5v-2h2zm2 2v-2H7v2H3v-2H1v2h2v2h4v4h2v-4h2v-2zm0 0v2H7v-2zm6-12v2H9V4zm4 2h-2V4h-2V2h4zm0 6V6h2v6zm-2 2v-2h2v2zm-2 2v-2h2v2zm0 2h-2v-2h2zm0 0h2v4h-2z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M5 2h4v2H7v2H5zm0 10H3V6h2zm2 2H5v-2h2zm2 2v-2H7v2H3v-2H1v2h2v2h4v4h2v-4h2v-2zm0 0v2H7v-2zm6-12v2H9V4zm4 2h-2V4h-2V2h4zm0 6V6h2v6zm-2 2v-2h2v2zm-2 2v-2h2v2zm0 2h-2v-2h2zm0 0h2v4h-2z"/></svg> </template>
CSS
.icon-github {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%202h4v2H7v2H5zm0%2010H3V6h2zm2%202H5v-2h2zm2%202v-2H7v2H3v-2H1v2h2v2h4v4h2v-4h2v-2zm0%200v2H7v-2zm6-12v2H9V4zm4%202h-2V4h-2V2h4zm0%206V6h2v6zm-2%202v-2h2v2zm-2%202v-2h2v2zm0%202h-2v-2h2zm0%200h2v4h-2z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M5%202h4v2H7v2H5zm0%2010H3V6h2zm2%202H5v-2h2zm2%202v-2H7v2H3v-2H1v2h2v2h4v4h2v-4h2v-2zm0%200v2H7v-2zm6-12v2H9V4zm4%202h-2V4h-2V2h4zm0%206V6h2v6zm-2%202v-2h2v2zm-2%202v-2h2v2zm0%202h-2v-2h2zm0%200h2v4h-2z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/pixelarticons/github.svg?color=%231a73e8&size=48