Onion icon
iconoven:onion
The Onion icon (iconoven:onion) is a free SVG icon from the IconOven set by Appic Marketing. It is drawn on a 24 × 24 grid. IconOven 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
- IconOven
- Author
- Appic Marketing
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M12 2.75c.5 1.75 1.25 2.75 2.75 3.5c3.25 1.5 5 4 5 7c0 3.5-3.5 5.5-7.75 5.5s-7.75-2-7.75-5.5c0-3 1.75-5.5 5-7c1.5-.75 2.25-1.75 2.75-3.5"/><path d="M10 9c-2 1.4-2.75 2.75-2.75 4.25c0 1 .35 1.9 1 2.6M14 9c2 1.4 2.75 2.75 2.75 4.25c0 1-.35 1.9-1 2.6M12 18.75v2.5M9.25 18.5l-1 2.25m6.5-2.25l1 2.25"/></g></svg>How to use the Onion icon
React
import { Icon } from "@iconify/react";
<Icon icon="iconoven:onion" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="iconoven:onion" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="iconoven:onion" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoven--onion]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/iconoven -->
<div class="i-iconoven:onion"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="iconoven:onion"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/iconoven/onion.svg" alt="Onion icon" width="24" height="24">Related icons in IconOven
Onion icon in other icon sets
Onion icon FAQ
Is the Onion icon free for commercial use?
Yes. IconOven icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Onion icon in React?
Install @iconify/react and render <Icon icon="iconoven:onion" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Onion icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconoven/onion.svg" alt="Onion icon">, or paste the SVG code inline to style it with CSS.