Skip to content

Onion

The onion icon represents an onion, often used to signify food or cooking.

Add shadcn.io to your AI agent. · Pro It installs Onion, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

Onion icon from OpenMoji
Get Pro

4,481 in OpenMojiCC BY-SA 4.0 license (opens in a new tab)Free to copy and download

Code

Onion in your framework

In any framework. Customize it above, and the code follows.

export const OnionIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
    <path fill="#f4aa41" d="m38.491 16.785l.017-.001a3.566 3.566 0 0 1-1.917-4.51l-3.065 1.94l-1.646 2.054s.138.763-.066.798C20.83 18.964 12.517 27.799 12.517 38.419c0 12.003 10.615 21.734 23.71 21.734s23.709-9.73 23.709-21.734c0-11.303-9.413-20.587-21.445-21.633"/><path fill="#e27022" d="M37.358 9.74s-2.485 5.756.583 7.205l-.017.001C49.956 17.992 59.37 27.276 59.37 38.58c0 12.003-10.615 20.409-23.71 20.409c0 0 8.029-1.912 13.08-8.498c4.307-5.618 6.311-13.788.812-23.203c-1.905-3.262-6.275-6.915-11.829-8.575c-.109-.032-1.412-.658-1.495-.735c-.437-.399-.721-1.554-.567-4.084a9.8 9.8 0 0 1 1.698-4.153"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path d="m34.417 14.631l4.304-6.134a20 20 0 0 0-1.22 2.24c-2.787 6.103 2.123 6.374 2.123 6.374C51.11 18.61 59.936 27.59 59.936 38.444c0 11.903-10.615 21.552-23.71 21.552s-23.709-9.65-23.709-21.552c0-8.232 5.077-15.386 12.54-19.016a25 25 0 0 1 3.088-1.252l.248-.08q.162-.052.325-.101a25.5 25.5 0 0 1 3.283-.762m3.992 42.971l-5.797 2.59Zm4.938 2.59l-4.938-2.59v2.59"/><path d="M32.376 53.455c-2.33-2.343-3.983-8.237-3.983-15.137c0-5.805 1.17-10.897 2.928-13.763m-7.595 25.337c-1.755-1.765-3-6.206-3-11.405c0-4.373.88-8.21 2.205-10.369M49.28 49.892c1.755-1.765 3-6.206 3-11.405c0-4.373-.881-8.21-2.205-10.369M39.216 53.455c2.33-2.343 3.982-8.237 3.982-15.137c0-5.805-1.17-10.897-2.928-13.763"/></g>
  </svg>
);

Other libraries

Onion in 5 more libraries

Each library draws it its own way. Open one to compare.

  • Onion icon from WebHostingHub Glyphs
  • Onion icon from Web3 Icons
  • Onion icon from Fluent Emoji High Contrast
  • Onion icon from Dinkie Icons
  • Onion icon from Lucide Lab

OpenMoji

Icons that share its tags, in the same style.

  • Cucumber icon from OpenMoji
  • Baguette Bread icon from OpenMoji
  • Broccoli icon from OpenMoji
  • Butter icon from OpenMoji
  • Eggplant icon from OpenMoji
  • Poultry Leg icon from OpenMoji
  • Roasted Sweet Potato icon from OpenMoji
  • Shallow Pan Of Food icon from OpenMoji
  • Spaghetti icon from OpenMoji
  • Tomato icon from OpenMoji
  • Flatbread icon from OpenMoji
  • Steaming Bowl icon from OpenMoji
  • Bread icon from OpenMoji
  • Brown Mushroom icon from OpenMoji
  • Carrot icon from OpenMoji
  • Cheese Wedge icon from OpenMoji
  • Cook icon from OpenMoji
  • Egg icon from OpenMoji
  • Fish Cake With Swirl icon from OpenMoji
  • Garlic icon from OpenMoji
  • Oden icon from OpenMoji
  • Pizza icon from OpenMoji
  • Root Vegetable icon from OpenMoji
  • Taco icon from OpenMoji

Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.

Get Pro

Tags

Browse by tag

Onion is tagged food, cooking, cuisine and 2 more. Related tags follow; each opens its icons from every library.

Pricing

OpenMoji MCP, with Pro

Ask for Onion or any of 4,481 OpenMoji icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Onion icon means and where it's used, then how to install, style and license it.

Install Onion from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro