Magic icon
fa7-solid:magic
The Magic icon (fa7-solid:magic) is a free SVG icon from the Font Awesome Solid set by Dave Gandy. It is drawn on a 640 × 640 grid. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 640
- Category
- Design, Objects, Interfaces
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="640" viewBox="0 0 640 640"><path fill="currentColor" d="m462.5 76.2l-88.2 88.2l101.3 101.3l88.2-88.2c7.8-7.9 12.2-18.5 12.2-29.5s-4.4-21.6-12.2-29.5l-42.3-42.3C513.6 68.4 503 64 492 64s-21.6 4.4-29.5 12.2M340.4 198.3L76.2 462.5C68.4 470.4 64 481 64 492s4.4 21.6 12.2 29.5l42.3 42.3c7.9 7.8 18.5 12.2 29.5 12.2s21.6-4.4 29.5-12.2l264.2-264.2z"/></svg>How to use the Magic icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa7-solid:magic" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa7-solid:magic" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa7-solid:magic" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa7-solid--magic]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa7-solid -->
<div class="i-fa7-solid:magic"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa7-solid:magic"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa7-solid/magic.svg" alt="Magic icon" width="24" height="24">Related icons in Font Awesome Solid
Magic icon in other icon sets
Magic icon FAQ
Is the Magic icon free for commercial use?
Yes. Font Awesome Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Magic icon in React?
Install @iconify/react and render <Icon icon="fa7-solid: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/fa7-solid/magic.svg" alt="Magic icon">, or paste the SVG code inline to style it with CSS.