gist icon
gist from Octicons by GitHub · Regular · MIT Free for personal and commercial use.
- Name
- gist
- Set
- Octicons
- Style
- Regular
- Viewbox
- 12×16
- License
- MIT
The same icon in other sets
Related icons in Octicons
Use the gist icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M7.5 5L10 7.5L7.5 10l-.75-.75L8.5 7.5L6.75 5.75L7.5 5zm-3 0L2 7.5L4.5 10l.75-.75L3.5 7.5l1.75-1.75L4.5 5zM0 13V2c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v11c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1zm1 0h10V2H1v11z" fill="currentColor"/></svg>
React
import type { SVGProps } from "react";
export function OcticonGist(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 16"><path fillRule="evenodd" d="M7.5 5L10 7.5L7.5 10l-.75-.75L8.5 7.5L6.75 5.75L7.5 5zm-3 0L2 7.5L4.5 10l.75-.75L3.5 7.5l1.75-1.75L4.5 5zM0 13V2c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v11c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1zm1 0h10V2H1v11z" fill="currentColor"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M7.5 5L10 7.5L7.5 10l-.75-.75L8.5 7.5L6.75 5.75L7.5 5zm-3 0L2 7.5L4.5 10l.75-.75L3.5 7.5l1.75-1.75L4.5 5zM0 13V2c0-.55.45-1 1-1h10c.55 0 1 .45 1 1v11c0 .55-.45 1-1 1H1c-.55 0-1-.45-1-1zm1 0h10V2H1v11z" fill="currentColor"/></svg> </template>
CSS
.icon-gist {
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%2012%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M7.5%205L10%207.5L7.5%2010l-.75-.75L8.5%207.5L6.75%205.75L7.5%205zm-3%200L2%207.5L4.5%2010l.75-.75L3.5%207.5l1.75-1.75L4.5%205zM0%2013V2c0-.55.45-1%201-1h10c.55%200%201%20.45%201%201v11c0%20.55-.45%201-1%201H1c-.55%200-1-.45-1-1zm1%200h10V2H1v11z%22%20fill%3D%22currentColor%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%2012%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M7.5%205L10%207.5L7.5%2010l-.75-.75L8.5%207.5L6.75%205.75L7.5%205zm-3%200L2%207.5L4.5%2010l.75-.75L3.5%207.5l1.75-1.75L4.5%205zM0%2013V2c0-.55.45-1%201-1h10c.55%200%201%20.45%201%201v11c0%20.55-.45%201-1%201H1c-.55%200-1-.45-1-1zm1%200h10V2H1v11z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/octicon/gist.svg?color=%231a73e8&size=48