ICONYZ
English
Yin Yang icon from OpenMoji

Yin Yang icon

openmoji:yin-yang

The Yin Yang icon (openmoji:yin-yang) 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
Symbols
Tags
yinyang
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><circle cx="36" cy="36.883" r="25" fill="#fff"/><path fill="#3f3f3f" d="M10.883 36.883c0 13.614 10.826 24.69 24.338 25.092c-6.58-.402-11.78-5.865-11.78-12.533c0-6.933 5.614-12.559 12.559-12.559c6.932 0 12.558-5.626 12.558-12.558c0-6.668-5.211-12.131-11.792-12.533c-.251-.013-.502-.025-.766-.025s-.527 0-.779.025c-13.512.402-24.338 11.478-24.338 25.091"/><circle cx="37.344" cy="48.939" r="4.019" fill="#3f3f3f"/><circle cx="37.344" cy="23.823" r="4.019" fill="#fff"/><g fill="none" stroke="#000" stroke-miterlimit="10" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M23.442 49.442c0 6.668 5.199 12.131 11.78 12.533c.263.012.514.025.778.025s.515-.013.766-.025c13.513-.39 24.35-11.466 24.35-25.092S50.28 12.181 36.767 11.792c6.58.402 11.792 5.865 11.792 12.533c0 6.932-5.626 12.558-12.558 12.558c-6.945 0-12.558 5.626-12.558 12.559"/><path stroke-linecap="round" stroke-linejoin="round" d="M10.883 36.883c0 13.614 10.826 24.69 24.338 25.092c-6.58-.402-11.78-5.865-11.78-12.533c0-6.933 5.614-12.559 12.559-12.559c6.932 0 12.558-5.626 12.558-12.558c0-6.668-5.211-12.131-11.792-12.533c-.251-.013-.502-.025-.766-.025s-.527 0-.779.025c-13.512.402-24.338 11.478-24.338 25.091"/><circle cx="37.344" cy="48.939" r="4.019"/><circle cx="37.344" cy="23.823" r="4.019"/></g></svg>

How to use the Yin Yang icon

React

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

<Icon icon="openmoji:yin-yang" width="24" />

Vue

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

<template>
  <Icon icon="openmoji:yin-yang" width="24" />
</template>

Svelte

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

<Icon icon="openmoji:yin-yang" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="openmoji:yin-yang"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/yin-yang.svg" alt="Yin Yang icon" width="24" height="24">

Yin Yang icon in other icon sets

Yin Yang icon FAQ

Is the Yin Yang 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 Yin Yang icon in React?

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

How do I add the Yin Yang icon to a web page?

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

Browse all OpenMoji icons →