Precommit icon
file-icons:precommit
The Precommit icon (file-icons:precommit) is a free SVG icon from the File Icons set by John Gardner. It is drawn on a 512 × 512 grid. File Icons are released under the ISC license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- File Icons
- Author
- John Gardner
- License
- ISC
- Size
- 512 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="m186.478 143.556l.756 223.843h44.536v-83.031h65.666c41.031-2.91 59.035-28.451 61.508-67.106c2.281-35.654-31.398-73.902-61.508-73.706zm106.862 41.83c33.965 7.906 27.176 59.602.326 58.955H231.77v-58.95zM252.906 1.496c-10.693.39-21.5 4.123-28.966 12.74L14.208 221.396c-20.191 16.661-18.427 52.9 2.528 69.123l209.8 208.545c13.06 14.667 41.082 15.631 59.022.818l205.149-205.549c19.622-16.944 33.263-45.503 5.887-73.355L286.254 13.264c-6.04-7.247-19.598-12.268-33.348-11.768m2.769 36.078c2.52.019 4.734.958 7.055 1.575l208.212 207.935c5.17 6.63 2.886 15.054-2.036 18.916L264.508 468.627c-4.852 6.504-10.465 8.733-18.319-1.772L40.61 261.275c-5.46-4.955-5.376-12.045-1.18-15.36L246.786 41.511c3.546-3.059 6.368-3.957 8.889-3.937"/></svg>How to use the Precommit icon
React
import { Icon } from "@iconify/react";
<Icon icon="file-icons:precommit" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="file-icons:precommit" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="file-icons:precommit" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[file-icons--precommit]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/file-icons -->
<div class="i-file-icons:precommit"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="file-icons:precommit"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/file-icons/precommit.svg" alt="Precommit icon" width="24" height="24">Precommit icon in other icon sets
Precommit icon FAQ
Is the Precommit icon free for commercial use?
Yes. File Icons are released under the ISC license, which allows use in personal and commercial projects.
How do I use the Precommit icon in React?
Install @iconify/react and render <Icon icon="file-icons:precommit" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Precommit icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/file-icons/precommit.svg" alt="Precommit icon">, or paste the SVG code inline to style it with CSS.