Pre Commit icon
thesvg:pre-commit
The Pre Commit icon (thesvg:pre-commit) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG icons are released under the MIT 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
- theSVG
- Author
- thesvg.org
- License
- MIT
- Size
- 24 × 24
- Tags
- precommit
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 0c-.563 0-1.127.215-1.557.645L.645 10.443c-.86.86-.86 2.254 0 3.114l9.798 9.798c.86.86 2.254.86 3.114 0l9.798-9.798c.86-.86.86-2.254 0-3.114L13.557.645A2.2 2.2 0 0 0 12 0m0 1.74c.493 0 .987.186 1.361.56l8.339 8.34c.75.75.75 1.973 0 2.722L13.361 21.7c-.374.375-.868.56-1.361.56s-.987-.185-1.361-.56L2.3 13.361a1.93 1.93 0 0 1 0-2.722L10.639 2.3c.374-.375.868-.56 1.361-.56m0 .62c-.333 0-.664.127-.92.382L2.742 11.08a1.295 1.295 0 0 0 0 1.84l8.338 8.338a1.296 1.296 0 0 0 1.84 0l8.338-8.338a1.295 1.295 0 0 0 0-1.84L12.92 2.742A1.3 1.3 0 0 0 12 2.36M9.207 7.624h3.959q.824 0 1.4.238q.578.24.942.633q.362.393.527.897a3.34 3.34 0 0 1 0 2.084q-.165.51-.527.902a2.6 2.6 0 0 1-.942.633q-.576.239-1.4.238h-2.043v3.156H9.207zm1.916 1.484v2.657h1.514q.332 0 .64-.05a1.5 1.5 0 0 0 .547-.193a1.05 1.05 0 0 0 .38-.404q.141-.26.142-.682q0-.42-.143-.681a1.05 1.05 0 0 0-.379-.404a1.5 1.5 0 0 0-.547-.194a4 4 0 0 0-.64-.049z"/></svg>How to use the Pre Commit icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg:pre-commit" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg:pre-commit" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg:pre-commit" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--pre-commit]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:pre-commit"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg:pre-commit"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg/pre-commit.svg" alt="Pre Commit icon" width="24" height="24">Related icons in theSVG
Pre Commit icon in other icon sets
Pre Commit icon FAQ
Is the Pre Commit icon free for commercial use?
Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pre Commit icon in React?
Install @iconify/react and render <Icon icon="thesvg:pre-commit" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pre Commit icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg/pre-commit.svg" alt="Pre Commit icon">, or paste the SVG code inline to style it with CSS.