Affinity icon
thesvg-color:affinity
The Affinity icon (thesvg-color:affinity) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 240 × 240 grid. theSVG Color 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
- theSVG Color
- Author
- thesvg.org
- License
- MIT
- Size
- 240 × 240
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240" viewBox="0 0 240 240"><path fill="#a7f175" d="M15 0A15 15 0 0 0 0 15v210a15 15 0 0 0 15 15h210a15 15 0 0 0 15-15V15a15 15 0 0 0-15-15z"/><path fill="#0e1318" d="M112.908 165.979c-10.413 0-17.037-6.317-17.037-14.329c0-34.287 90.164-41.151 90.164-77.563c0-22.213-25.731-31.787-58.577-31.787c-19.98 0-42.571 3.698-63.552 10.315v43.438c30.919-22.52 65.272-32.16 87.4-32.16c13.914 0 23.355 3.882 23.355 10.838c0 28.658-124.353 24.117-124.353 86.042c0 23.736 16.321 37.335 39.283 37.335c34.732 0 61.003-33.753 80.657-74.897l3.982 1.43c-10.351 25.143-31.771 52.712-35.943 70.434h44.715V103.39h-10.327c-14.99 32.574-36.957 62.59-59.767 62.59"/></svg>How to use the Affinity icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg-color:affinity" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg-color:affinity" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg-color:affinity" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--affinity]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:affinity"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg-color:affinity"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg-color/affinity.svg" alt="Affinity icon" width="24" height="24">Related icons in theSVG Color
Affinity icon FAQ
Is the Affinity icon free for commercial use?
Yes. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Affinity icon in React?
Install @iconify/react and render <Icon icon="thesvg-color:affinity" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Affinity icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg-color/affinity.svg" alt="Affinity icon">, or paste the SVG code inline to style it with CSS.