Mocha icon
file-icons:mocha
The Mocha icon (file-icons:mocha) is a free SVG icon from the File Icons set by John Gardner. It is drawn on a 310 × 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
- 310 × 512
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="310" height="512" viewBox="0 0 310 512"><path fill="currentColor" d="M183.07 153.302C262.738 94.654 165.275 41.29 183.07 0c-73.318 74.216 2.44 95.303 0 153.302m-59.535 4.466c54.06-40.562-16.164-78.526 0-102.698c-48.117 52.093-.763 57.18 0 102.698m186.046 40.186c0-7.442-5.953-14.884-14.883-14.884H14.884C7.442 183.07 0 189.023 0 197.954c0 50.604 7.442 224.744 81.86 309.58c2.977 2.979 5.954 4.466 10.42 4.466h125.023c4.465 0 7.442-1.488 10.419-4.465c74.418-83.349 81.86-257.489 81.86-309.581m-110.14 270.883h-87.813c-4.465 0-7.442-1.488-10.419-4.465c-50.604-59.535-56.558-178.605-58.046-220.279c0-7.442 5.953-14.884 14.884-14.884h196.465c7.441 0 14.883 5.954 14.883 14.884c0 41.674-7.442 159.256-58.046 220.28c-4.465 2.976-7.442 4.464-11.907 4.464m46.14-138.418c-5.953 40.186-17.86 86.325-43.162 116.093q-4.466 4.464-8.93 4.465h-74.42c-2.976 0-7.441-1.488-8.93-4.465c-17.86-22.326-29.767-52.093-37.209-83.35c77.212 9.986 156.606 2.312 172.651-32.743"/></svg>How to use the Mocha icon
React
import { Icon } from "@iconify/react";
<Icon icon="file-icons:mocha" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="file-icons:mocha" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="file-icons:mocha" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[file-icons--mocha]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/file-icons -->
<div class="i-file-icons:mocha"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="file-icons:mocha"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/file-icons/mocha.svg" alt="Mocha icon" width="24" height="24">Mocha icon in other icon sets
Mocha icon FAQ
Is the Mocha 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 Mocha icon in React?
Install @iconify/react and render <Icon icon="file-icons:mocha" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Mocha icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/file-icons/mocha.svg" alt="Mocha icon">, or paste the SVG code inline to style it with CSS.