Cafe icon
maki:cafe
The Cafe icon (maki:cafe) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki icons are released under the CC0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M12 5h-2V3H2v4a4 4 0 0 0 7.45 2H12a2 2 0 1 0 0-4m0 3H9.86A4 4 0 0 0 10 7V6h2a1 1 0 1 1 0 2m-2 4.5a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1 0-1h7a.5.5 0 0 1 .5.5"/></svg>How to use the Cafe icon
React
import { Icon } from "@iconify/react";
<Icon icon="maki:cafe" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="maki:cafe" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="maki:cafe" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[maki--cafe]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/maki -->
<div class="i-maki:cafe"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="maki:cafe"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/maki/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. Maki icons are released under the CC0 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="maki: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/maki/cafe.svg" alt="Cafe icon">, or paste the SVG code inline to style it with CSS.