ghost icon
ghost from Majesticons by Gerrit Halfmann · Solid · MIT Free for personal and commercial use.
- Name
- ghost
- Set
- Majesticons
- Style
- Solid
- Viewbox
- 24×24
- License
- MIT
1 other variant in Majesticons
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.ggghostHuge IconsghostIconParkghostIconPark OutlineghostIconPark SolidghostIconPark TwoToneghostJam IconsghostLine AwesomeghostSVG LogosghostLucideghostMaterial 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"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.416 3.788C8.289 2.44 10.506 2 12 2c3.526 0 5.826 1.492 7.212 3.416C20.56 7.289 21 9.506 21 11v9a1 1 0 0 1-1.707.707L18 19.414L16.414 21a2 2 0 0 1-2.828 0L12 19.414L10.414 21a2 2 0 0 1-2.828 0L6 19.414l-1.293 1.293A1 1 0 0 1 3 20v-9c0-3.526 1.492-5.826 3.416-7.212zM7 10a2 2 0 1 1 4 0a2 2 0 0 1-4 0zm6 0a2 2 0 1 1 4 0a2 2 0 0 1-4 0z" fill="currentColor"/></g></svg>
React
import type { SVGProps } from "react";
export function MajesticonsGhost(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"><path fillRule="evenodd" clipRule="evenodd" d="M6.416 3.788C8.289 2.44 10.506 2 12 2c3.526 0 5.826 1.492 7.212 3.416C20.56 7.289 21 9.506 21 11v9a1 1 0 0 1-1.707.707L18 19.414L16.414 21a2 2 0 0 1-2.828 0L12 19.414L10.414 21a2 2 0 0 1-2.828 0L6 19.414l-1.293 1.293A1 1 0 0 1 3 20v-9c0-3.526 1.492-5.826 3.416-7.212zM7 10a2 2 0 1 1 4 0a2 2 0 0 1-4 0zm6 0a2 2 0 1 1 4 0a2 2 0 0 1-4 0z" fill="currentColor"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.416 3.788C8.289 2.44 10.506 2 12 2c3.526 0 5.826 1.492 7.212 3.416C20.56 7.289 21 9.506 21 11v9a1 1 0 0 1-1.707.707L18 19.414L16.414 21a2 2 0 0 1-2.828 0L12 19.414L10.414 21a2 2 0 0 1-2.828 0L6 19.414l-1.293 1.293A1 1 0 0 1 3 20v-9c0-3.526 1.492-5.826 3.416-7.212zM7 10a2 2 0 1 1 4 0a2 2 0 0 1-4 0zm6 0a2 2 0 1 1 4 0a2 2 0 0 1-4 0z" fill="currentColor"/></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%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.416%203.788C8.289%202.44%2010.506%202%2012%202c3.526%200%205.826%201.492%207.212%203.416C20.56%207.289%2021%209.506%2021%2011v9a1%201%200%200%201-1.707.707L18%2019.414L16.414%2021a2%202%200%200%201-2.828%200L12%2019.414L10.414%2021a2%202%200%200%201-2.828%200L6%2019.414l-1.293%201.293A1%201%200%200%201%203%2020v-9c0-3.526%201.492-5.826%203.416-7.212zM7%2010a2%202%200%201%201%204%200a2%202%200%200%201-4%200zm6%200a2%202%200%201%201%204%200a2%202%200%200%201-4%200z%22%20fill%3D%22currentColor%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%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M6.416%203.788C8.289%202.44%2010.506%202%2012%202c3.526%200%205.826%201.492%207.212%203.416C20.56%207.289%2021%209.506%2021%2011v9a1%201%200%200%201-1.707.707L18%2019.414L16.414%2021a2%202%200%200%201-2.828%200L12%2019.414L10.414%2021a2%202%200%200%201-2.828%200L6%2019.414l-1.293%201.293A1%201%200%200%201%203%2020v-9c0-3.526%201.492-5.826%203.416-7.212zM7%2010a2%202%200%201%201%204%200a2%202%200%200%201-4%200zm6%200a2%202%200%201%201%204%200a2%202%200%200%201-4%200z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/majesticons/ghost.svg?color=%231a73e8&size=48