ICONYZ
English
Magic icon from theSVG

Magic icon

thesvg:magic

The Magic icon (thesvg:magic) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
Author
thesvg.org
License
MIT
Size
24 × 24
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="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:magic" width="24" />

Vue

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

<template>
  <Icon icon="thesvg:magic" width="24" />
</template>

Svelte

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

<Icon icon="thesvg:magic" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--magic]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:magic"></div>

Web component

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

<iconify-icon icon="thesvg:magic"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/magic.svg" alt="Magic icon" width="24" height="24">

Magic icon in other icon sets

Magic icon FAQ

Is the Magic icon free for commercial use?

Yes. theSVG 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: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/magic.svg" alt="Magic icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG icons →