Coffee icon
fa:coffee
The Coffee icon (fa:coffee) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1856 × 1408 grid. Font Awesome 4 icons are released under the Open Font 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
- Font Awesome 4
- Author
- Dave Gandy
- License
- OFL-1.1
- Size
- 1856 × 1408
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1856" height="1408" viewBox="0 0 1856 1408"><path fill="currentColor" d="M1664 384q0-80-56-136t-136-56h-64v384h64q80 0 136-56t56-136M0 1152h1792q0 106-75 181t-181 75H256q-106 0-181-75T0 1152m1856-768q0 159-112.5 271.5T1472 768h-64v32q0 92-66 158t-158 66H480q-92 0-158-66t-66-158V64q0-26 19-45t45-19h1152q159 0 271.5 112.5T1856 384"/></svg>How to use the Coffee icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa:coffee" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa:coffee" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa:coffee" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--coffee]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:coffee"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa:coffee"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa/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. Font Awesome 4 icons are released under the Open Font 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="fa: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/fa/coffee.svg" alt="Coffee icon">, or paste the SVG code inline to style it with CSS.