Coffee icon
material-icon-theme:coffee
The Coffee icon (material-icon-theme:coffee) 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
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="#42a5f5" d="M4 26h24v2H4zM28 4H7a1 1 0 0 0-1 1v13a4 4 0 0 0 4 4h10a4 4 0 0 0 4-4v-4h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 8h-4V6h4Z"/></svg>How to use the Coffee icon
React
import { Icon } from "@iconify/react";
<Icon icon="material-icon-theme:coffee" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-icon-theme:coffee" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-icon-theme:coffee" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-icon-theme--coffee]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-icon-theme -->
<div class="i-material-icon-theme:coffee"></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:coffee"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/material-icon-theme/coffee.svg" alt="Coffee icon" width="24" height="24">Coffee icon in other icon sets
Coffee icon FAQ
Is the Coffee 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 Coffee icon in React?
Install @iconify/react and render <Icon icon="material-icon-theme:coffee" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Coffee icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-icon-theme/coffee.svg" alt="Coffee icon">, or paste the SVG code inline to style it with CSS.