Pig
The pig icon represents a domesticated mammal often raised for meat, symbolizing agriculture, livestock, and food production.
Exports at 24 × 24 px
Code
Pig in your framework
In any framework. Customize it above, and the code follows.
export const PigIcon = (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="#ffa7c0" d="m17.124 30.476l-2.276 1.673l-2.08-1.673S10.746 36.5 13 39l-2.707 3.532l-4.202 2.064v2.07L8 50l6.088.934h5.916l3.115-1.127l-.955 4.943l1.106 1.38l2.639-1.967l5.665-9.567l7.097.701l10-1.185l4.849-1.187l1.75 4.662l1.457 8.086L58.147 57l1.389-.768l3.589-16.482s-1.253-9.254-6.62-13.001c-6.593-5.618-14.539-7.225-24.04-4.222q-8.585 2.971-15.34 7.948"/><path fill="#e67a94" d="m48.008 44.596l-.504 5.581l-.797 4.349l1.382 1.147l4.855-5.538L55.084 46l-1.871-3.625zM35 44.935V52.5l-.912 3.368l-3.28-.493l-.72-3.937l-.375-4.688l1.095-1.815z"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeMiterlimit="10" strokeWidth="2"><path d="M18.267 40.366S19 37 18 35c-.825-1.65-5-4-5-4c-.9 2.25-.662 6.007-.28 7.046L13 39l-.522.89a10.9 10.9 0 0 1-4.516 4.22l-1.281.64c-.527.264-.74.905-.477 1.432L8 50s6.75 1.688 11.445.332M15.633 32.13c4.98-7.1 36.828-22.24 46.05 3.138a15.6 15.6 0 0 1 .578 8.573l-2.52 11.88A1.614 1.614 0 0 1 58.16 57h-.013c-1.066 0-1.352-.849-1.553-1.895C56 52 56.128 47.22 52.304 40.62"/><path d="M30.039 34.735s3.583 5.63 1.024 9.725c-2.01 3.216-4.651 8.64-5.692 10.822c-.278.581-.865.95-1.509.95h-.025a1.67 1.67 0 0 1-1.583-2.207c.758-2.242 1.568-5.964.62-10.077m8.7 1.024s15.867 1.536 20.986-2.047M48 45s0 4-1.2 8.417c-.303 1.118.13 2.256 1.289 2.256h0c.584 0 1.116-.34 1.36-.87L52 50m-20.985 1.579l-.198 2.184c-.137 1.504 1.43 2.574 2.781 1.898l.018-.009a1.93 1.93 0 0 0 1.06-1.586L35 46m26.284-18.071s6.142-1.535 2.56 3.071"/></g>
</svg>
);Other libraries
Pig in 8 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Pig is tagged food, animal, agriculture and 3 more. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Pig 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.
- 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 Pig icon means and where it's used, then how to install, style, label and license it.
The pig icon represents a domesticated mammal often raised for meat, symbolizing agriculture, livestock, and food production. It is commonly associated with farming and culinary contexts.
Pigs are commonly raised in agriculture and appear in various forms of media, including instructional guides and food advertisements.
From a UX perspective, the pig icon communicates agriculture, food production, and livestock, helping users understand that a process or system is related to farming or culinary activities.
Pig is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds PigIcon to components/icons/openmoji-pig.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed PigIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Pig icon, or any of 4,481 OpenMoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 72 × 72 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Pig", so screen readers say what it does.
Yes. PigIcon passes every SVG prop to the svg element, so <PigIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Pig. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are food, animal, agriculture, farm, meat and livestock. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Pig in another set.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Pig's siblings in it.
4.9 out of 5 from 150+ developers
Install Pig from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro