ICONYZ
English
Yin Yang icon from BoxIcons v2 Solid

Yin Yang icon

bxs:yin-yang

The Yin Yang icon (bxs:yin-yang) is a free SVG icon from the BoxIcons v2 Solid set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 Solid icons 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 v2 Solid
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="M19.062 4.938A9.94 9.94 0 0 0 12.016 2h-.026a9.94 9.94 0 0 0-7.071 2.938c-3.898 3.898-3.898 10.243 0 14.143c1.895 1.895 4.405 2.938 7.071 2.938s5.177-1.043 7.071-2.938c3.9-3.899 3.9-10.243.001-14.143M13.5 15a1.5 1.5 0 1 1-.001 3.001A1.5 1.5 0 0 1 13.5 15M6.333 6.353A7.95 7.95 0 0 1 11.99 4l.026.001c1.652.008 3.242 1.066 3.55 2.371c.366 1.552-1.098 3.278-4.018 4.737c-5.113 2.555-5.312 5.333-4.975 6.762l.008.021c-.082-.075-.169-.146-.249-.226c-3.118-3.119-3.118-8.194.001-11.313"/><circle cx="10.5" cy="7.5" r="1.5" fill="currentColor"/></svg>

How to use the Yin Yang icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/bxs/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. BoxIcons v2 Solid icons 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="bxs: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/bxs/yin-yang.svg" alt="Yin Yang icon">, or paste the SVG code inline to style it with CSS.

Browse all BoxIcons v2 Solid icons →