ICONYZ
English
Fantasy icon from Icons8 Windows 10 Icons

Fantasy icon

icons8:fantasy

The Fantasy icon (icons8:fantasy) is a free SVG icon from the Icons8 Windows 10 Icons set by Icons8. It is drawn on a 32 × 32 grid. Icons8 Windows 10 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
Icons8 Windows 10 Icons
Author
Icons8
License
MIT
Size
32 × 32
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="m20.875 2.563l-.688.75l-1.687 1.78h-3.594v3.5l-1.72 1.813l-.686.72l.688.687l1.5 1.5L3.03 25l-.717.72l.718.686l2.564 2.563l.718.718l.688-.72l11.688-11.655l1.5 1.5l.687.687l.72-.688l1.81-1.718h3.5V13.5l1.782-1.688l.75-.687l-.718-.72l-1.814-1.81v-3.5h-3.5L21.594 3.28zm.03 2.874l1.376 1.375l.314.282h2.312v2.312l.282.313l1.375 1.374l-1.344 1.28l-.314.282v2.438h-2.312l-.282.28l-1.406 1.345l-.843-.845l3.843-3.813l.72-.687l-.72-.72l-2.562-2.56l-.688-.69l-.718.69l-3.813 3.842l-.844-.843l1.345-1.406l.28-.282v-2.31h2.44l.28-.313l1.28-1.343zm-.25 4.782l1.126 1.155l-15.468 15.47l-1.156-1.126l15.5-15.5zM19 21v1h-1v2h1v1h2v-1h1v-2h-1v-1zm6 2v2h-2v2h2v2h2v-2h2v-2h-2v-2z"/></svg>

How to use the Fantasy icon

React

import { Icon } from "@iconify/react";

<Icon icon="icons8:fantasy" width="24" />

Vue

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

<template>
  <Icon icon="icons8:fantasy" width="24" />
</template>

Svelte

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

<Icon icon="icons8:fantasy" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="icons8:fantasy"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icons8/fantasy.svg" alt="Fantasy icon" width="24" height="24">

Fantasy icon in other icon sets

Fantasy icon FAQ

Is the Fantasy icon free for commercial use?

Yes. Icons8 Windows 10 Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Fantasy icon in React?

Install @iconify/react and render <Icon icon="icons8:fantasy" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Fantasy icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icons8/fantasy.svg" alt="Fantasy icon">, or paste the SVG code inline to style it with CSS.

Browse all Icons8 Windows 10 Icons →