Coffee icon
keyline-icons:coffee
The Coffee icon (keyline-icons:coffee) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 11L15 11C15.5523 11 16 11.4477 16 12L16 19C16 20.6569 14.6569 22 13 22L7 22C5.3431 22 4 20.6569 4 19L4 12C4 11.4477 4.4477 11 5 11ZM16 13L17 13C18.6569 13 20 14.3431 20 16C20 17.6569 18.6569 19 17 19L16 19M8.5 6C8.5 5.2131 8.8705 4.4721 9.5 4C10.1295 3.5279 10.5 2.7869 10.5 2M13.5 6C13.5 5.2131 13.8705 4.4721 14.5 4C15.1295 3.5279 15.5 2.7869 15.5 2"/></svg>How to use the Coffee icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:coffee" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:coffee" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:coffee" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--coffee]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:coffee"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:coffee"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/coffee.svg" alt="Coffee icon" width="24" height="24">Related icons in Keyline Icons
Coffee icon in other icon sets
Coffee icon FAQ
Is the Coffee icon free for commercial use?
Yes. Keyline 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="keyline-icons: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/keyline-icons/coffee.svg" alt="Coffee icon">, or paste the SVG code inline to style it with CSS.