github from Material Line Icons by Vjacheslav Trushkin · Line · Social · MIT Free for personal and commercial use.

Name
github
Set
Material Line Icons
Style
Line
Category
Social
Viewbox
24×24
License
MIT

The same icon in other sets

More social icons from Material Line Icons

Use the github icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="32" d="M12 4c1.67 0 2.61 0.4 3 0.5c0.53 -0.43 1.94 -1.5 3.5 -1.5c0.34 1 0.29 2.22 0 3c0.75 1 1 2 1 3.5c0 2.19 -0.48 3.58 -1.5 4.5c-1.02 0.92 -2.11 1.37 -3.5 1.5c0.65 0.54 0.5 1.87 0.5 2.5c0 0.73 0 3 0 3M12 4c-1.67 0 -2.61 0.4 -3 0.5c-0.53 -0.43 -1.94 -1.5 -3.5 -1.5c-0.34 1 -0.29 2.22 0 3c-0.75 1 -1 2 -1 3.5c0 2.19 0.48 3.58 1.5 4.5c1.02 0.92 2.11 1.37 3.5 1.5c-0.65 0.54 -0.5 1.87 -0.5 2.5c0 0.73 0 3 0 3"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="32;0"/></path><path stroke-dasharray="10" stroke-dashoffset="10" d="M9 19c-1.41 0 -2.84 -0.56 -3.69 -1.19c-0.84 -0.63 -1.09 -1.66 -2.31 -2.31"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.2s" to="0"/></path></g></svg>

React

import type { SVGProps } from "react";

export function LineMdGithub(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path strokeDasharray="32" d="M12 4c1.67 0 2.61 0.4 3 0.5c0.53 -0.43 1.94 -1.5 3.5 -1.5c0.34 1 0.29 2.22 0 3c0.75 1 1 2 1 3.5c0 2.19 -0.48 3.58 -1.5 4.5c-1.02 0.92 -2.11 1.37 -3.5 1.5c0.65 0.54 0.5 1.87 0.5 2.5c0 0.73 0 3 0 3M12 4c-1.67 0 -2.61 0.4 -3 0.5c-0.53 -0.43 -1.94 -1.5 -3.5 -1.5c-0.34 1 -0.29 2.22 0 3c-0.75 1 -1 2 -1 3.5c0 2.19 0.48 3.58 1.5 4.5c1.02 0.92 2.11 1.37 3.5 1.5c-0.65 0.54 -0.5 1.87 -0.5 2.5c0 0.73 0 3 0 3"><animate fill="freeze" attributeName="strokeDashoffset" dur="0.6s" values="32;0"/></path><path strokeDasharray="10" strokeDashoffset="10" d="M9 19c-1.41 0 -2.84 -0.56 -3.69 -1.19c-0.84 -0.63 -1.09 -1.66 -2.31 -2.31"><animate fill="freeze" attributeName="strokeDashoffset" begin="0.7s" dur="0.2s" to="0"/></path></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="32" d="M12 4c1.67 0 2.61 0.4 3 0.5c0.53 -0.43 1.94 -1.5 3.5 -1.5c0.34 1 0.29 2.22 0 3c0.75 1 1 2 1 3.5c0 2.19 -0.48 3.58 -1.5 4.5c-1.02 0.92 -2.11 1.37 -3.5 1.5c0.65 0.54 0.5 1.87 0.5 2.5c0 0.73 0 3 0 3M12 4c-1.67 0 -2.61 0.4 -3 0.5c-0.53 -0.43 -1.94 -1.5 -3.5 -1.5c-0.34 1 -0.29 2.22 0 3c-0.75 1 -1 2 -1 3.5c0 2.19 0.48 3.58 1.5 4.5c1.02 0.92 2.11 1.37 3.5 1.5c-0.65 0.54 -0.5 1.87 -0.5 2.5c0 0.73 0 3 0 3"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="32;0"/></path><path stroke-dasharray="10" stroke-dashoffset="10" d="M9 19c-1.41 0 -2.84 -0.56 -3.69 -1.19c-0.84 -0.63 -1.09 -1.66 -2.31 -2.31"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.2s" to="0"/></path></g></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%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-dasharray%3D%2232%22%20d%3D%22M12%204c1.67%200%202.61%200.4%203%200.5c0.53%20-0.43%201.94%20-1.5%203.5%20-1.5c0.34%201%200.29%202.22%200%203c0.75%201%201%202%201%203.5c0%202.19%20-0.48%203.58%20-1.5%204.5c-1.02%200.92%20-2.11%201.37%20-3.5%201.5c0.65%200.54%200.5%201.87%200.5%202.5c0%200.73%200%203%200%203M12%204c-1.67%200%20-2.61%200.4%20-3%200.5c-0.53%20-0.43%20-1.94%20-1.5%20-3.5%20-1.5c-0.34%201%20-0.29%202.22%200%203c-0.75%201%20-1%202%20-1%203.5c0%202.19%200.48%203.58%201.5%204.5c1.02%200.92%202.11%201.37%203.5%201.5c-0.65%200.54%20-0.5%201.87%20-0.5%202.5c0%200.73%200%203%200%203%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20dur%3D%220.6s%22%20values%3D%2232%3B0%22%2F%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%2210%22%20stroke-dashoffset%3D%2210%22%20d%3D%22M9%2019c-1.41%200%20-2.84%20-0.56%20-3.69%20-1.19c-0.84%20-0.63%20-1.09%20-1.66%20-2.31%20-2.31%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.7s%22%20dur%3D%220.2s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3C%2Fg%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%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20stroke-dasharray%3D%2232%22%20d%3D%22M12%204c1.67%200%202.61%200.4%203%200.5c0.53%20-0.43%201.94%20-1.5%203.5%20-1.5c0.34%201%200.29%202.22%200%203c0.75%201%201%202%201%203.5c0%202.19%20-0.48%203.58%20-1.5%204.5c-1.02%200.92%20-2.11%201.37%20-3.5%201.5c0.65%200.54%200.5%201.87%200.5%202.5c0%200.73%200%203%200%203M12%204c-1.67%200%20-2.61%200.4%20-3%200.5c-0.53%20-0.43%20-1.94%20-1.5%20-3.5%20-1.5c-0.34%201%20-0.29%202.22%200%203c-0.75%201%20-1%202%20-1%203.5c0%202.19%200.48%203.58%201.5%204.5c1.02%200.92%202.11%201.37%203.5%201.5c-0.65%200.54%20-0.5%201.87%20-0.5%202.5c0%200.73%200%203%200%203%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20dur%3D%220.6s%22%20values%3D%2232%3B0%22%2F%3E%3C%2Fpath%3E%3Cpath%20stroke-dasharray%3D%2210%22%20stroke-dashoffset%3D%2210%22%20d%3D%22M9%2019c-1.41%200%20-2.84%20-0.56%20-3.69%20-1.19c-0.84%20-0.63%20-1.09%20-1.66%20-2.31%20-2.31%22%3E%3Canimate%20fill%3D%22freeze%22%20attributeName%3D%22stroke-dashoffset%22%20begin%3D%220.7s%22%20dur%3D%220.2s%22%20to%3D%220%22%2F%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/line-md/github.svg?color=%231a73e8&size=48