1. Icon Monks
  2. Food icons
  3. Onion

Onion icon

The onion icon is a free food icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.

Onion icon, thin weight
Thin
SVG
Onion icon, light weight
Light
SVG
Onion icon, regular weight
Regular
SVG
Onion icon, bold weight
Bold
SVG
Onion icon, fill weight
Fill
SVG
Onion icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the onion icon

Use it to stand for vegetable, cooking and garlic. The regular weight is a single path made of 2 shapes, and the duotone weight adds a 20% tint behind the outline.

Pairs well with the garlic, book chef hat and broccoli icons, which share the “vegetable” theme. Use the same weight for all of them so they read as one set.

When to use the onion icon

It belongs to the food set, made for restaurants, recipes and delivery apps. Pair it with the related icons below so a screen stays in one visual style.

Use the onion icon in your code

React

import { Onion } from '@icon-monks/react';

<Onion size={24} />

Vue

<script setup>
import { Onion } from '@icon-monks/vue';
</script>

<Onion :size="24" />

Web component

<icon-monks name="onion" size="24"></icon-monks>

Icon font

<i class="im im-onion"></i>

Flutter

Icon(IconMonks.onion)

SwiftUI

Image(iconMonks: .onion)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Onion

Icon(IconMonks.Regular.Onion, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related food icons

See all 172 food icons

Similar icons in other categories

Questions about the onion icon

Is the onion icon free for commercial use?

Yes. The onion icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.

How do I change the color and size of the onion icon?

The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.

Which weight of the onion icon should I use?

Use regular at 24 px for most interfaces, bold at 16 px or on busy screens, thin or light for large display sizes, fill for a selected or active state, and duotone for illustrations and empty states.

Last updated with version 0.4.3. Release notes