Cafe icon
hugeicons:cafe
The Cafe icon (hugeicons:cafe) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- 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="1.5" d="M18 7.792A2.5 2.5 0 0 0 19.5 5.5L18 3H6L4.5 5.5A2.5 2.5 0 0 0 6 7.792m12 0A2.5 2.5 0 0 1 14.5 5.5a2.5 2.5 0 0 1-5 0A2.5 2.5 0 0 1 6 7.792m12 0V11M6 7.792V11m-3 1v5m0 0h2c1.414 0 2.121 0 2.56.44C8 17.878 8 18.585 8 20v1m-5-4v4m18-9v5m0 0h-2c-1.414 0-2.121 0-2.56.44C16 17.878 16 18.585 16 20v1m5-4v4M7 14h5m5 0h-5m0 0v7m0 0h-1m1 0h1"/></svg>How to use the Cafe icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:cafe" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:cafe" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:cafe" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--cafe]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:cafe"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:cafe"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/cafe.svg" alt="Cafe icon" width="24" height="24">Cafe icon in other icon sets
Cafe icon FAQ
Is the Cafe icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cafe icon in React?
Install @iconify/react and render <Icon icon="hugeicons:cafe" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cafe icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/cafe.svg" alt="Cafe icon">, or paste the SVG code inline to style it with CSS.