ICONYZ
English
Mocha icon from Material Icon Theme

Mocha icon

material-icon-theme:mocha

The Mocha icon (material-icon-theme:mocha) is a free SVG icon from the Material Icon Theme set by Material Extensions. It is drawn on a 32 × 32 grid. Material Icon Theme 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
Material Icon Theme
Author
Material Extensions
License
MIT
Size
32 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#a1887f" d="M22 14c-.002 7.41-.07 10.857-2.486 14h-7.028C10.07 24.857 10.002 21.41 10 14zm.823-2H9.177A1.266 1.266 0 0 0 8 13.342C8 22 8 26 11.546 30h8.908C24 26 24 22 24 13.342A1.266 1.266 0 0 0 22.823 12m-4.82-9.998c1.15.46 2 2.075 2 3.998c0 1.925-.851 3.54-2.003 4V7.998c-1.15-.46-2-2.074-2-3.998s.851-3.54 2.003-4ZM13 6.004A2.11 2.11 0 0 1 14 8a2.1 2.1 0 0 1-1 2V9a2.11 2.11 0 0 1-1-1.998a2.1 2.1 0 0 1 1-1.998Z"/><path fill="#a1887f" d="M16 20h-3c0 2 1 4 1 6h4c0-2 1-4 1-6Z"/></svg>

How to use the Mocha icon

React

import { Icon } from "@iconify/react";

<Icon icon="material-icon-theme:mocha" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="material-icon-theme:mocha" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="material-icon-theme:mocha" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--mocha]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:mocha"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="material-icon-theme:mocha"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-icon-theme/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. Material Icon Theme icons are released under the MIT 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="material-icon-theme: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/material-icon-theme/mocha.svg" alt="Mocha icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Icon Theme icons →