Ghost icon
andrsrxn:ghost
The Ghost icon (andrsrxn:ghost) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Emoji
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M19.87 9.48a7.87 7.87 0 0 0-15.74 0v7.72l-.73 2.45c-.29.98 0 2.04.73 2.74l2.15-.81c.8-.3 1.19-.45 1.6-.49a3 3 0 0 1 .6 0c.4.05.8.2 1.58.52c.81.33 1.21.5 1.63.53q.3.03.61 0c.43-.04.83-.2 1.64-.53c.78-.31 1.18-.47 1.59-.51a3 3 0 0 1 .6-.01c.4.04.8.19 1.59.49l2.15.81c.24-.33.36-.5.45-.67a3 3 0 0 0 .31-1.89c-.03-.19-.09-.39-.2-.78l-.56-1.85z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.65 9.38v6.12c0 1.2.27 2.48.65 3.65c.4 1.26.6 1.9.58 2.1c-.07.6-.48.94-1.07.9c-.21-.02-.75-.3-1.82-.88l-.36-.19l-.4-.2a3 3 0 0 0-2.77.17c-.1.05-.19.12-.38.25l-.41.29a3 3 0 0 1-3.4-.21l-.16-.1a7 7 0 0 0-.65-.4a3 3 0 0 0-2.38-.12c-.17.07-.34.16-.68.34l-.33.17c-1.2.62-1.79.93-2.06.92a.93.93 0 0 1-.94-.8c-.05-.25.17-.94.62-2.33c.38-1.18.66-2.43.66-3.56V9.38a7.65 7.65 0 0 1 15.3 0M9.57 8.7v3.19m4.86-3.19v3.19"/></g></svg>How to use the Ghost icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:ghost" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:ghost" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:ghost" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--ghost]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:ghost"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:ghost"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/ghost.svg" alt="Ghost icon" width="24" height="24">Ghost icon in other icon sets
Ghost icon FAQ
Is the Ghost icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Ghost icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:ghost" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Ghost icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/ghost.svg" alt="Ghost icon">, or paste the SVG code inline to style it with CSS.