ghost icon
ghost from Huge Icons by Hugeicons · Stroke · MIT Free for personal and commercial use.
- Name
- ghost
- Set
- Huge Icons
- Style
- Stroke
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
ghostBoxIcons v2ghostBoxIcons v2 SolidghostCoreUI BrandsghostDeviconghostEmoji One (Colored)ghostFont Awesome 6 SolidghostFont Awesome SolidghostFluent EmojighostFluent Emoji FlatghostFluent Emoji High ContrastghostFirefox OS Emojighostcss.ggghostIconParkghostIconPark OutlineghostIconPark SolidghostIconPark TwoToneghostJam IconsghostLine AwesomeghostSVG LogosghostLucideghostMajesticonsghostMaterial Design Iconsghost-fillMingCute IconghostNoto Emoji
Use the ghost icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M12 2.5c-3.86 0-6.99 3.12-6.99 6.969v2.299c0 2.407-.63 4.773-1.83 6.864c-.648 1.132.57 2.415 1.74 1.832l.928-.462a1.64 1.64 0 0 1 1.988.414l.42.501a1.628 1.628 0 0 0 2.496 0A1.62 1.62 0 0 1 12 20.334c.462 0 .924.195 1.248.583c.65.777 1.847.777 2.497 0l.419-.5A1.64 1.64 0 0 1 18.152 20l.928.463c1.17.583 2.388-.7 1.74-1.832a13.8 13.8 0 0 1-1.83-6.864v-2.3C18.99 5.62 15.86 2.5 12 2.5"/><path d="M15 10.125v.125m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0M9 10.125v.125m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0"/></g></svg>
React
import type { SVGProps } from "react";
export function HugeiconsGhost(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5"><path d="M12 2.5c-3.86 0-6.99 3.12-6.99 6.969v2.299c0 2.407-.63 4.773-1.83 6.864c-.648 1.132.57 2.415 1.74 1.832l.928-.462a1.64 1.64 0 0 1 1.988.414l.42.501a1.628 1.628 0 0 0 2.496 0A1.62 1.62 0 0 1 12 20.334c.462 0 .924.195 1.248.583c.65.777 1.847.777 2.497 0l.419-.5A1.64 1.64 0 0 1 18.152 20l.928.463c1.17.583 2.388-.7 1.74-1.832a13.8 13.8 0 0 1-1.83-6.864v-2.3C18.99 5.62 15.86 2.5 12 2.5"/><path d="M15 10.125v.125m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0M9 10.125v.125m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M12 2.5c-3.86 0-6.99 3.12-6.99 6.969v2.299c0 2.407-.63 4.773-1.83 6.864c-.648 1.132.57 2.415 1.74 1.832l.928-.462a1.64 1.64 0 0 1 1.988.414l.42.501a1.628 1.628 0 0 0 2.496 0A1.62 1.62 0 0 1 12 20.334c.462 0 .924.195 1.248.583c.65.777 1.847.777 2.497 0l.419-.5A1.64 1.64 0 0 1 18.152 20l.928.463c1.17.583 2.388-.7 1.74-1.832a13.8 13.8 0 0 1-1.83-6.864v-2.3C18.99 5.62 15.86 2.5 12 2.5"/><path d="M15 10.125v.125m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0M9 10.125v.125m.25 0a.25.25 0 1 1-.5 0a.25.25 0 0 1 .5 0"/></g></svg> </template>
CSS
.icon-ghost {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M12%202.5c-3.86%200-6.99%203.12-6.99%206.969v2.299c0%202.407-.63%204.773-1.83%206.864c-.648%201.132.57%202.415%201.74%201.832l.928-.462a1.64%201.64%200%200%201%201.988.414l.42.501a1.628%201.628%200%200%200%202.496%200A1.62%201.62%200%200%201%2012%2020.334c.462%200%20.924.195%201.248.583c.65.777%201.847.777%202.497%200l.419-.5A1.64%201.64%200%200%201%2018.152%2020l.928.463c1.17.583%202.388-.7%201.74-1.832a13.8%2013.8%200%200%201-1.83-6.864v-2.3C18.99%205.62%2015.86%202.5%2012%202.5%22%2F%3E%3Cpath%20d%3D%22M15%2010.125v.125m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200M9%2010.125v.125m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M12%202.5c-3.86%200-6.99%203.12-6.99%206.969v2.299c0%202.407-.63%204.773-1.83%206.864c-.648%201.132.57%202.415%201.74%201.832l.928-.462a1.64%201.64%200%200%201%201.988.414l.42.501a1.628%201.628%200%200%200%202.496%200A1.62%201.62%200%200%201%2012%2020.334c.462%200%20.924.195%201.248.583c.65.777%201.847.777%202.497%200l.419-.5A1.64%201.64%200%200%201%2018.152%2020l.928.463c1.17.583%202.388-.7%201.74-1.832a13.8%2013.8%200%200%201-1.83-6.864v-2.3C18.99%205.62%2015.86%202.5%2012%202.5%22%2F%3E%3Cpath%20d%3D%22M15%2010.125v.125m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200M9%2010.125v.125m.25%200a.25.25%200%201%201-.5%200a.25.25%200%200%201%20.5%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/hugeicons/ghost.svg?color=%231a73e8&size=48