ICONYZ
English
Ghost icon from Phosphor

Ghost icon

ph:ghost

The Ghost icon (ph:ghost) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
pac man, spirit, scary, halloween
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M112 116a12 12 0 1 1-12-12a12 12 0 0 1 12 12m44-12a12 12 0 1 0 12 12a12 12 0 0 0-12-12m68 16v96a8 8 0 0 1-13.07 6.19l-24.26-19.85l-24.27 19.85a8 8 0 0 1-10.13 0L128 202.34l-24.27 19.85a8 8 0 0 1-10.13 0l-24.27-19.85l-24.26 19.85A8 8 0 0 1 32 216v-96a96 96 0 0 1 192 0m-16 0a80 80 0 0 0-160 0v79.12l16.27-13.31a8 8 0 0 1 10.13 0l24.27 19.85l24.26-19.85a8 8 0 0 1 10.14 0l24.26 19.85l24.27-19.85a8 8 0 0 1 10.13 0L208 199.12Z"/></svg>

How to use the Ghost icon

React

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

<Icon icon="ph:ghost" width="24" />

Vue

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

<template>
  <Icon icon="ph:ghost" width="24" />
</template>

Svelte

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

<Icon icon="ph:ghost" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ph:ghost"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/ghost.svg" alt="Ghost icon" width="24" height="24">

Related icons in Phosphor

Ghost icon in other icon sets

Ghost icon FAQ

Is the Ghost icon free for commercial use?

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

Browse all Phosphor icons →