Magic icon
thesvg-color:magic
The Magic icon (thesvg-color:magic) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 24 × 24 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
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#6851ff" d="M12 0a29.7 29.7 0 0 1-3.611 3.53A27.3 27.3 0 0 1 9.729 12c0 2.948-.47 5.792-1.34 8.47A29.7 29.7 0 0 1 12 24a29.7 29.7 0 0 1 3.611-3.53a27.3 27.3 0 0 1-1.34-8.47c0-2.948.47-5.792 1.34-8.47A29.7 29.7 0 0 1 12 0m6.109 5.381A27.4 27.4 0 0 0 17.3 12c0 2.278.28 4.494.809 6.619a31 31 0 0 1 4.391-2.424A13.7 13.7 0 0 1 21.843 12c0-1.46.23-2.868.657-4.195a31 31 0 0 1-4.391-2.424m-12.218 0A31 31 0 0 1 1.5 7.805A13.7 13.7 0 0 1 2.157 12c0 1.46-.23 2.868-.657 4.195a31 31 0 0 1 4.391 2.424C6.42 16.494 6.7 14.278 6.7 12s-.28-4.494-.809-6.619"/></svg>How to use the Magic icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg-color:magic" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg-color:magic" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg-color:magic" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--magic]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:magic"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg-color:magic"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg-color/magic.svg" alt="Magic icon" width="24" height="24">Related icons in theSVG Color
Magic icon in other icon sets
Magic icon FAQ
Is the Magic 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 Magic icon in React?
Install @iconify/react and render <Icon icon="thesvg-color:magic" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Magic icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg-color/magic.svg" alt="Magic icon">, or paste the SVG code inline to style it with CSS.