ICONYZ
English
Yin Yang icon from Boxicons

Yin Yang icon

boxicons:yin-yang

The Yin Yang icon (boxicons:yin-yang) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
yinyang
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M11.5 6a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3m1 9a1.5 1.5 0 1 0 0 3a1.5 1.5 0 1 0 0-3"/><path fill="currentColor" d="M12.42 2.02C12.27 2.01 12.13 2 12 2C6.49 2 2 6.49 2 12s4.26 9.76 9.58 9.98c.15.01.29.02.42.02c5.51 0 10-4.49 10-10s-4.26-9.76-9.58-9.98M4 12c0-4.41 3.59-8 8-8h.01c.07 0 .13 0 .2.01c.77.06 2.79.45 2.79 2.99c0 1.81-1.33 2.78-3.53 4.15C9.37 12.46 7 13.94 7 17c0 .49.05.94.14 1.34A7.97 7.97 0 0 1 4 12m8 8h-.01c-.07 0-.13 0-.2-.01C11.02 19.93 9 19.54 9 17c0-1.81 1.33-2.78 3.53-4.15C14.63 11.54 17 10.06 17 7c0-.49-.05-.94-.14-1.34A7.97 7.97 0 0 1 20 12c0 4.41-3.59 8-8 8"/></svg>

How to use the Yin Yang icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Boxicons

Yin Yang icon in other icon sets

Yin Yang icon FAQ

Is the Yin Yang icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Yin Yang icon in React?

Install @iconify/react and render <Icon icon="boxicons: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/boxicons/yin-yang.svg" alt="Yin Yang icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →