Ghost
The ghost icon represents a spirit or invisible entity, often used to indicate a hidden or invisible state.
Exports at 24 × 24 px
Code
Ghost in your framework
In any framework. Customize it above, and the code follows.
export const GhostIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 26 26" {...props}>
<path fill="currentColor" d="M13 0c-1.937 0-3.428.508-4.5 1.344c-1.072.835-1.688 1.959-2.125 3s-.717 2.035-1 2.75s-.517.991-.719 1.062C1.904 9.13 0 11.52 0 14.656a1 1 0 0 0 .938 1c1.257.067 1.862.362 2.187.656s.474.685.563 1.22s.097 1.16.218 1.843c.061.341.144.702.375 1.063c.232.36.641.692 1.094.843c1.06.354 1.737.573 2.156.813s.669.453 1 1.156c.316.668.744 1.4 1.5 1.938c.756.537 1.78.828 3.063.812c2.101-.026 3.355-1.113 4-2.063c.322-.474.549-.887.75-1.156s.32-.374.531-.437c1.368-.412 2.236-1.15 2.719-1.969s.61-1.602.75-2.156c.14-.555.226-.797.531-1c.305-.204 1.031-.426 2.563-.344a1 1 0 0 0 1.062-1c0-1.379.02-2.979-.594-4.469s-1.972-2.764-4.25-3.281c-.024-.006-.052.01-.156-.125c-.104-.134-.235-.4-.375-.75c-.28-.7-.581-1.721-1.031-2.781s-1.091-2.198-2.157-3.063C16.372.542 14.905 0 13 0m0 2c1.538 0 2.481.396 3.188.969c.706.573 1.18 1.38 1.562 2.281c.383.9.653 1.88 1 2.75c.174.435.361.838.656 1.219c.295.38.76.75 1.313.875c1.811.41 2.443 1.122 2.843 2.094c.299.723.286 1.752.313 2.75c-1.068.05-1.962.203-2.594.624c-.863.576-1.2 1.466-1.375 2.157c-.175.69-.292 1.25-.531 1.656s-.58.757-1.594 1.063c-.712.214-1.224.703-1.562 1.156s-.543.898-.782 1.25c-.477.704-.822 1.136-2.374 1.156c-.983.013-1.512-.179-1.876-.438c-.363-.258-.596-.631-.843-1.156c-.447-.946-1.074-1.639-1.813-2.062s-1.51-.628-2.531-.969c-.056-.019-.014.027-.031 0a1.3 1.3 0 0 1-.094-.344c-.07-.396-.092-1.084-.219-1.843c-.126-.76-.427-1.655-1.187-2.344c-.565-.512-1.387-.82-2.375-1c.26-1.895 1.369-3.158 3.219-3.813c1.06-.375 1.585-1.299 1.937-2.187c.352-.889.602-1.877.969-2.75c.366-.873.832-1.612 1.531-2.157S11.403 2 13 2m-2.5 4C9.672 6 9 6.895 9 8s.672 2 1.5 2S12 9.105 12 8s-.672-2-1.5-2m4 0c-.828 0-1.5.895-1.5 2s.672 2 1.5 2S16 9.105 16 8s-.672-2-1.5-2"/>
</svg>
);Other libraries
Ghost in 8 more libraries
Each library draws it its own way. Open one to compare.
Icons8 Windows 8 Icons
More like it
Icons that share its tags, then the ones next to it in Icons8 Windows 8 Icons, in the same style.
Search Icons8 Windows 8 Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Icons8 Windows 8 Icons icon from a prompt.
Get ProTags
Browse by tag
Ghost is tagged interface, UX, visibility and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Icons8 Windows 8 Icons MCP, with Pro
Ask for Ghost or any of 200 Icons8 Windows 8 Icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Ghost icon means and where it's used, then how to install, style, label and license it.
The ghost icon represents a spirit or invisible entity, often used to indicate a hidden or invisible state. It is commonly used in software applications to represent a 'ghost' or 'invisible' mode.
In software applications, the ghost icon appears in user interfaces like operating systems and games.
From a UX perspective, the ghost icon communicates a state of invisibility or hidden visibility, allowing users to quickly identify and interact with ghosted elements.
Ghost is one of 200 icons in Icons8 Windows 8 Icons, made by Icons8 and released under MIT. It is drawn on a 26 × 26 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds GhostIcon to components/icons/wpf-ghost.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed GhostIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Ghost icon, or any of 200 Icons8 Windows 8 Icons icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 26 × 26 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Ghost", so screen readers say what it does.
Yes. GhostIcon passes every SVG prop to the svg element, so <GhostIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Icons8 Windows 8 Icons, Icons8 and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Ghost. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are interface, UX, visibility, hidden, invisible and spirit. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Ghost in another set.
4.9 out of 5 from 150+ developers
Install Ghost from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro