gentleface

Gentleface › Files & folders › folder-git

folder-git icon

Folder git: repository folder, project root, root folder, git folder. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated folder-git-root · line-round

The node closes onto the top of its stem and the stem sinks into the folder’s floor. The stem then pushes back up out of the floor and the node buds open at its tip, past its size and back.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 1.85 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M7.146 3.439C7.326 3.619 7.533 3.757 7.767 3.854C8.002 3.951 8.246 4 8.5 4L13 4C13.254 4 13.5 4.047 13.736 4.14C13.993 4.242 14.219 4.391 14.414 4.586C14.609 4.781 14.758 5.007 14.86 5.264C14.953 5.5 15 5.746 15 6L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L4.5 2C4.886 2 5.258 2.074 5.615 2.222C5.972 2.37 6.287 2.58 6.561 2.854L7.146 3.439ZM2.293 12.707C2.488 12.902 2.724 13 3 13L8 13L8 10.95C7.857 10.921 7.717 10.879 7.58 10.824C7.259 10.697 6.976 10.512 6.732 10.268C6.488 10.024 6.303 9.741 6.176 9.42C6.059 9.125 6 8.818 6 8.5C6 8.182 6.059 7.875 6.176 7.58C6.303 7.259 6.488 6.976 6.732 6.732C6.976 6.488 7.259 6.303 7.58 6.176C7.875 6.059 8.182 6 8.5 6C8.818 6 9.125 6.059 9.42 6.176C9.741 6.303 10.024 6.488 10.268 6.732C10.512 6.976 10.697 7.259 10.824 7.58C10.941 7.875 11 8.182 11 8.5C11 8.818 10.941 9.125 10.824 9.42C10.697 9.741 10.512 10.024 10.268 10.268C10.024 10.512 9.741 10.697 9.42 10.824C9.283 10.879 9.142 10.921 9 10.95L9 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 6C14 5.724 13.902 5.488 13.707 5.293C13.512 5.098 13.276 5 13 5L8.5 5C8.114 5 7.742 4.926 7.385 4.778C7.028 4.63 6.713 4.42 6.439 4.146L5.854 3.561C5.674 3.381 5.467 3.243 5.233 3.146C4.998 3.049 4.754 3 4.5 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 12C2 12.276 2.098 12.512 2.293 12.707ZM7.105 9.052C7.182 9.245 7.293 9.414 7.439 9.561C7.586 9.707 7.755 9.818 7.948 9.895C8.125 9.965 8.309 10 8.5 10C8.691 10 8.875 9.965 9.052 9.895C9.245 9.818 9.414 9.707 9.561 9.561C9.707 9.414 9.818 9.245 9.895 9.052C9.965 8.875 10 8.691 10 8.5C10 8.309 9.965 8.125 9.895 7.948C9.818 7.755 9.707 7.586 9.561 7.439C9.414 7.293 9.245 7.182 9.052 7.105C8.875 7.035 8.691 7 8.5 7C8.309 7 8.125 7.035 7.948 7.105C7.755 7.182 7.586 7.293 7.439 7.439C7.293 7.586 7.182 7.755 7.105 7.948C7.035 8.125 7 8.309 7 8.5C7 8.691 7.035 8.875 7.105 9.052Z"/></svg>
React
// Gentleface "folder-git" (line-round), MIT. https://gentleface.com/icons/folder-git
import type { SVGProps } from 'react';

export function FolderGitIcon(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="M7.146 3.439C7.326 3.619 7.533 3.757 7.767 3.854C8.002 3.951 8.246 4 8.5 4L13 4C13.254 4 13.5 4.047 13.736 4.14C13.993 4.242 14.219 4.391 14.414 4.586C14.609 4.781 14.758 5.007 14.86 5.264C14.953 5.5 15 5.746 15 6L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 4C1 3.746 1.047 3.5 1.14 3.264C1.242 3.007 1.391 2.781 1.586 2.586C1.781 2.391 2.007 2.242 2.264 2.14C2.5 2.047 2.746 2 3 2L4.5 2C4.886 2 5.258 2.074 5.615 2.222C5.972 2.37 6.287 2.58 6.561 2.854L7.146 3.439ZM2.293 12.707C2.488 12.902 2.724 13 3 13L8 13L8 10.95C7.857 10.921 7.717 10.879 7.58 10.824C7.259 10.697 6.976 10.512 6.732 10.268C6.488 10.024 6.303 9.741 6.176 9.42C6.059 9.125 6 8.818 6 8.5C6 8.182 6.059 7.875 6.176 7.58C6.303 7.259 6.488 6.976 6.732 6.732C6.976 6.488 7.259 6.303 7.58 6.176C7.875 6.059 8.182 6 8.5 6C8.818 6 9.125 6.059 9.42 6.176C9.741 6.303 10.024 6.488 10.268 6.732C10.512 6.976 10.697 7.259 10.824 7.58C10.941 7.875 11 8.182 11 8.5C11 8.818 10.941 9.125 10.824 9.42C10.697 9.741 10.512 10.024 10.268 10.268C10.024 10.512 9.741 10.697 9.42 10.824C9.283 10.879 9.142 10.921 9 10.95L9 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 6C14 5.724 13.902 5.488 13.707 5.293C13.512 5.098 13.276 5 13 5L8.5 5C8.114 5 7.742 4.926 7.385 4.778C7.028 4.63 6.713 4.42 6.439 4.146L5.854 3.561C5.674 3.381 5.467 3.243 5.233 3.146C4.998 3.049 4.754 3 4.5 3L3 3C2.724 3 2.488 3.098 2.293 3.293C2.098 3.488 2 3.724 2 4L2 12C2 12.276 2.098 12.512 2.293 12.707ZM7.105 9.052C7.182 9.245 7.293 9.414 7.439 9.561C7.586 9.707 7.755 9.818 7.948 9.895C8.125 9.965 8.309 10 8.5 10C8.691 10 8.875 9.965 9.052 9.895C9.245 9.818 9.414 9.707 9.561 9.561C9.707 9.414 9.818 9.245 9.895 9.052C9.965 8.875 10 8.691 10 8.5C10 8.309 9.965 8.125 9.895 7.948C9.818 7.755 9.707 7.586 9.561 7.439C9.414 7.293 9.245 7.182 9.052 7.105C8.875 7.035 8.691 7 8.5 7C8.309 7 8.125 7.035 7.948 7.105C7.755 7.182 7.586 7.293 7.439 7.439C7.293 7.586 7.182 7.755 7.105 7.948C7.035 8.125 7 8.309 7 8.5C7 8.691 7.035 8.875 7.105 9.052Z" />
    </svg>
  );
}
Vue
Vue: see /icons/folder-git.md
Svelte
Svelte: see /icons/folder-git.md
HTML img
HTML img: see /icons/folder-git.md
CSS
CSS: see /icons/folder-git.md
Data URL
Data URL: see /icons/folder-git.md
Sprite
Sprite: see /icons/folder-git.md
SwiftUI
SwiftUI: see /icons/folder-git.md
Compose
Compose: see /icons/folder-git.md
Android XML
Android XML: see /icons/folder-git.md
Flutter
Flutter: see /icons/folder-git.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.

With npm: import { FolderGitIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
repository folder, project root, root folder, git folder, local repository
Alternatives
  • repository: the remote repository (repo)
  • folder-code: a source folder without version control (source-folder)
Also fits
  • repository: the local repository folder (repository-folder)
  • code folder: a repository or project root (repository-folder)
Tags
directory, git, repository, repo, root, project, commit, version-control, source, folder
Category
Files & folders
Component name
FolderGitIcon
History
  • released in 0.2.0
  • added
  • 20 px drawn, 24 px drawn
Since
version 0.2.0

Family 42

More files & folders icons

For agents

Metadata: /icons/folder-git.json · Markdown: /icons/folder-git.md · SVG: https://gentleface.com/svg/{style}/16/folder-git.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/folder-git.png