File Type Precommit
The file-type-precommit icon represents a Pre-commit file, which is used for automating tasks in Git version control systems.
Exports at 24 × 24 px
Code
File Type Precommit in your framework
In any framework. Customize it above, and the code follows.
export const FileTypePrecommitIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<path fill="#f8b424" d="M29.3 17.7L17.7 29.3a2.42 2.42 0 0 1-3.41 0L2.7 17.7a2.42 2.42 0 0 1 0-3.41L14.3 2.7a2.42 2.42 0 0 1 3.41 0L29.3 14.3a2.42 2.42 0 0 1 0 3.4"/><path d="M16 5.5a1.8 1.8 0 0 1 1.279.527l8.694 8.694a1.815 1.815 0 0 1 0 2.558l-8.694 8.694a1.816 1.816 0 0 1-2.558 0l-8.694-8.694a1.815 1.815 0 0 1 0-2.558l8.694-8.694A1.8 1.8 0 0 1 16 5.5m0-1.286a3.07 3.07 0 0 0-2.188.9l-8.694 8.698a3.1 3.1 0 0 0 0 4.376l8.694 8.694a3.1 3.1 0 0 0 4.376 0l8.694-8.694a3.1 3.1 0 0 0 0-4.376l-8.694-8.694A3.07 3.07 0 0 0 16 4.214"/><path d="M13.062 21.062V10.938h3.28a12 12 0 0 1 2.431.152a2.65 2.65 0 0 1 1.457.991a3.15 3.15 0 0 1 .587 1.971a3.3 3.3 0 0 1-.338 1.568a2.8 2.8 0 0 1-.86 1a3 3 0 0 1-1.06.48a11.6 11.6 0 0 1-2.12.145h-1.333v3.819Zm2.044-8.411v2.872h1.119a5.3 5.3 0 0 0 1.616-.158a1.33 1.33 0 0 0 .87-1.285a1.3 1.3 0 0 0-.325-.911a1.4 1.4 0 0 0-.822-.449a10 10 0 0 0-1.471-.069Z"/>
</svg>
);VSCode Icons
More like it
Icons that share its tags, in the same style.
Search VSCode Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any VSCode Icons icon from a prompt.
Get ProTags
Browse by tag
File Type Precommit is tagged automation, devops, Git and 1 more. Related tags follow; each opens its icons from every library.
Pricing
VSCode Icons MCP, with Pro
Ask for File Type Precommit or any of 1,426 VSCode Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the File Type Precommit icon means and where it's used, then how to install, style, label and license it.
The file-type-precommit icon represents a Pre-commit file, which is used for automating tasks in Git version control systems. Pre-commit is a framework for creating and managing Git hooks.
In real-world applications, this icon appears in software development tools like GitHub, GitLab, and Bitbucket. It is also used in DevOps tools like Jenkins, Ansible, and Puppet.
From a UX perspective, this icon communicates that a file is a Pre-commit file and can be executed or edited using Pre-commit tools. It helps users understand the functionality of the file and navigate interfaces related to automation and version control.
File Type Precommit is one of 1,426 icons in VSCode Icons, made by Roberto Huertas and released under MIT. It is drawn on a 32 × 32 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds FileTypePrecommitIcon to components/icons/vscode-icons-file-type-precommit.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed FileTypePrecommitIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the File Type Precommit icon, or any of 1,426 VSCode Icons icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 32 × 32 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="File Type Precommit", so screen readers say what it does.
Yes. FileTypePrecommitIcon passes every SVG prop to the svg element, so <FileTypePrecommitIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming VSCode Icons, Roberto Huertas and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are automation, devops, Git and version-control. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for File Type Precommit in another set.
VSCode Icons draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see File Type Precommit's siblings in it.
4.9 out of 5 from 150+ developers
Install File Type Precommit from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro