Gentleface › Development › repository-code
repository-code icon
repository-codeRepository code: source repository. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11.707 2.293C11.512 2.098 11.276 2 11 2L6 2L6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L5 10C4.724 10 4.488 10.098 4.293 10.293C4.098 10.488 4 10.724 4 11C4 11.276 4.098 11.512 4.293 11.707C4.488 11.902 4.724 12 5 12L5.5 12C5.641 12 5.759 12.048 5.856 12.144C5.952 12.241 6 12.359 6 12.5C6 12.641 5.952 12.759 5.856 12.856C5.759 12.952 5.641 13 5.5 13L5 13C4.746 13 4.5 12.953 4.264 12.86C4.007 12.758 3.781 12.609 3.586 12.414C3.391 12.219 3.242 11.993 3.14 11.736C3.047 11.5 3 11.254 3 11L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.724 11.902 2.488 11.707 2.293ZM4.264 9.14C4.5 9.047 4.746 9 5 9L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 9.268C4.084 9.219 4.172 9.177 4.264 9.14ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM10.146 9.146L8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z"/></svg>
// Gentleface "repository-code" (line-round), MIT. https://gentleface.com/icons/repository-code
import type { SVGProps } from 'react';
export function RepositoryCodeIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M11.707 2.293C11.512 2.098 11.276 2 11 2L6 2L6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L5 10C4.724 10 4.488 10.098 4.293 10.293C4.098 10.488 4 10.724 4 11C4 11.276 4.098 11.512 4.293 11.707C4.488 11.902 4.724 12 5 12L5.5 12C5.641 12 5.759 12.048 5.856 12.144C5.952 12.241 6 12.359 6 12.5C6 12.641 5.952 12.759 5.856 12.856C5.759 12.952 5.641 13 5.5 13L5 13C4.746 13 4.5 12.953 4.264 12.86C4.007 12.758 3.781 12.609 3.586 12.414C3.391 12.219 3.242 11.993 3.14 11.736C3.047 11.5 3 11.254 3 11L3 3C3 2.746 3.047 2.5 3.14 2.264C3.242 2.007 3.391 1.781 3.586 1.586C3.781 1.391 4.007 1.242 4.264 1.14C4.5 1.047 4.746 1 5 1L11 1C11.254 1 11.5 1.047 11.736 1.14C11.993 1.242 12.219 1.391 12.414 1.586C12.609 1.781 12.758 2.007 12.86 2.264C12.953 2.5 13 2.746 13 3L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3C12 2.724 11.902 2.488 11.707 2.293ZM4.264 9.14C4.5 9.047 4.746 9 5 9L5 2C4.724 2 4.488 2.098 4.293 2.293C4.098 2.488 4 2.724 4 3L4 9.268C4.084 9.219 4.172 9.177 4.264 9.14ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM10.146 9.146L8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z" />
</svg>
);
}Vue: see /icons/repository-code.md
Svelte: see /icons/repository-code.md
HTML img: see /icons/repository-code.md
CSS: see /icons/repository-code.md
Data URL: see /icons/repository-code.md
Sprite: see /icons/repository-code.md
SwiftUI: see /icons/repository-code.md
Compose: see /icons/repository-code.md
Android XML: see /icons/repository-code.md
Flutter: see /icons/repository-code.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
Meaning
- Use it for
- source repository
- Example
- Source code repository
- Built from
repository+ code- Tags
- repository, repo, git, source, project, codebase, version-control, developer, code
- Category
- Development
- Component name
RepositoryCodeIcon- History
- added
Family 7
More development icons
api api-gateway api-letters api-off api-sparkle binary binary-off braces braces-check braces-x brackets breakpoint breakpoint-conditional breakpoint-log bug bug-check · all development icons
For agents
Metadata: /icons/repository-code.json · Markdown: /icons/repository-code.md · SVG: https://gentleface.com/svg/{style}/16/repository-code.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/repository-code.png