repo icon
repo from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.
- Name
- repo
- Set
- Codicons
- Style
- Regular
- Viewbox
- 16×16
- License
- CC BY 4.0
The same icon in other sets
Related icons in Codicons
Use the repo icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12.5 12a.5.5 0 0 0 .5-.5V3a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2v.5a.5.5 0 0 0 .854.354l.646-.646l.646.646A.5.5 0 0 0 8 15.5V15h4.5a.5.5 0 0 0 0-1H8v-.5a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v.5a1 1 0 0 1-1-1v-1zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v8H4z"/></svg>
React
import type { SVGProps } from "react";
export function CodiconRepo(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12.5 12a.5.5 0 0 0 .5-.5V3a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2v.5a.5.5 0 0 0 .854.354l.646-.646l.646.646A.5.5 0 0 0 8 15.5V15h4.5a.5.5 0 0 0 0-1H8v-.5a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v.5a1 1 0 0 1-1-1v-1zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v8H4z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M12.5 12a.5.5 0 0 0 .5-.5V3a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2v.5a.5.5 0 0 0 .854.354l.646-.646l.646.646A.5.5 0 0 0 8 15.5V15h4.5a.5.5 0 0 0 0-1H8v-.5a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v.5a1 1 0 0 1-1-1v-1zM4 3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v8H4z"/></svg> </template>
CSS
.icon-repo {
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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.5%2012a.5.5%200%200%200%20.5-.5V3a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v10a2%202%200%200%200%202%202v.5a.5.5%200%200%200%20.854.354l.646-.646l.646.646A.5.5%200%200%200%208%2015.5V15h4.5a.5.5%200%200%200%200-1H8v-.5a.5.5%200%200%200-.5-.5h-2a.5.5%200%200%200-.5.5v.5a1%201%200%200%201-1-1v-1zM4%203a1%201%200%200%201%201-1h6a1%201%200%200%201%201%201v8H4z%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%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M12.5%2012a.5.5%200%200%200%20.5-.5V3a2%202%200%200%200-2-2H5a2%202%200%200%200-2%202v10a2%202%200%200%200%202%202v.5a.5.5%200%200%200%20.854.354l.646-.646l.646.646A.5.5%200%200%200%208%2015.5V15h4.5a.5.5%200%200%200%200-1H8v-.5a.5.5%200%200%200-.5-.5h-2a.5.5%200%200%200-.5.5v.5a1%201%200%200%201-1-1v-1zM4%203a1%201%200%200%201%201-1h6a1%201%200%200%201%201%201v8H4z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/repo.svg?color=%231a73e8&size=48