ICONYZ
English
Pig icon from OpenMoji

Pig icon

openmoji:pig

The Pig icon (openmoji:pig) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Animals Nature
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><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" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="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>

How to use the Pig icon

React

import { Icon } from "@iconify/react";

<Icon icon="openmoji:pig" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="openmoji:pig" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="openmoji:pig" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--pig]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:pig"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="openmoji:pig"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/pig.svg" alt="Pig icon" width="24" height="24">

Related icons in OpenMoji

Pig icon in other icon sets

Pig icon FAQ

Is the Pig icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Pig icon in React?

Install @iconify/react and render <Icon icon="openmoji:pig" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Pig icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/pig.svg" alt="Pig icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →