Donut icon
boxicons:donut
The Donut icon (boxicons:donut) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4s4-1.79 4-4s-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2"/><path fill="currentColor" d="M20.31 7.96c-.1.02-.2.04-.31.04c-1.1 0-2-.9-2-1.97c0-.03.02-.13.02-.16a.99.99 0 0 0-.4-.86a.99.99 0 0 0-.94-.14A1.9 1.9 0 0 1 16 5c-1.08 0-1.97-.88-1.99-1.96a.993.993 0 0 0-.89-.97C12.75 2.03 12.38 2 12 2C6.49 2 2 6.49 2 12s4.49 10 10 10s10-4.49 10-10c0-1.14-.2-2.28-.6-3.39a1 1 0 0 0-1.09-.65M12 20c-4.41 0-8-3.59-8-8s3.59-8 8-8h.13a4.054 4.054 0 0 0 3.99 3a4 4 0 0 0 3.61 2.99c.17.66.26 1.34.26 2.01c0 4.41-3.59 8-8 8Z"/></svg>How to use the Donut icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:donut" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:donut" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:donut" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--donut]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:donut"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:donut"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/donut.svg" alt="Donut icon" width="24" height="24">Related icons in Boxicons
Donut icon in other icon sets
Donut icon FAQ
Is the Donut icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Donut icon in React?
Install @iconify/react and render <Icon icon="boxicons:donut" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Donut icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/donut.svg" alt="Donut icon">, or paste the SVG code inline to style it with CSS.