Variable icon
heroicons:variable
The Variable icon (heroicons:variable) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.745 3A23.9 23.9 0 0 0 3 12c0 3.183.62 6.22 1.745 9M19.5 3c.967 2.78 1.5 5.817 1.5 9s-.533 6.22-1.5 9M8.25 8.885l1.444-.89a.75.75 0 0 1 1.105.402l2.402 7.206a.75.75 0 0 0 1.104.401l1.445-.889m-8.25.75l.213.09a1.69 1.69 0 0 0 2.062-.617l4.45-6.676a1.69 1.69 0 0 1 2.062-.618l.213.09"/></svg>How to use the Variable icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:variable" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:variable" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:variable" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--variable]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:variable"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:variable"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/variable.svg" alt="Variable icon" width="24" height="24">Related icons in HeroIcons
Variable icon in other icon sets
Variable icon FAQ
Is the Variable icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Variable icon in React?
Install @iconify/react and render <Icon icon="heroicons:variable" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Variable icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/variable.svg" alt="Variable icon">, or paste the SVG code inline to style it with CSS.