Ghost
The ghost icon represents a supernatural being often associated with Halloween or spooky themes.
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 32 32" {...props}>
<path fill="currentColor" d="M16 3c-1.938 0-3.43.508-4.5 1.344s-1.688 1.96-2.125 3c-.438 1.039-.719 2.035-1 2.75s-.516.992-.719 1.062C4.828 12.16 3 14.863 3 18v1h1c1.348 0 2.004.281 2.313.531c.308.25.43.535.5 1.032c.07.496.035 1.101.125 1.78c.046.34.117.723.343 1.095c.227.37.637.69 1.094.843c1.059.352 1.738.574 2.156.813c.418.238.668.453 1 1.156c.317.668.742 1.398 1.5 1.938c.758.539 1.778.828 3.063.812c2.101-.027 3.355-1.113 4-2.063c.324-.476.55-.886.75-1.156s.32-.375.531-.437c1.355-.407 2.23-1.094 2.719-1.875c.488-.782.582-1.547.718-2.063c.137-.515.235-.718.563-.937S26.453 20 28 20h1v-1c0-1.379.047-2.984-.563-4.5c-.609-1.516-1.996-2.855-4.28-3.375c-.024-.004-.052.008-.157-.125a3.2 3.2 0 0 1-.406-.75c-.282-.7-.551-1.723-1-2.781c-.45-1.059-1.09-2.2-2.157-3.063C19.372 3.543 17.907 3 16 3m0 2c1.54 0 2.48.395 3.188.969c.707.574 1.18 1.379 1.562 2.281s.652 1.879 1 2.75c.172.434.36.84.656 1.219s.73.75 1.282.875c1.8.41 2.468 1.148 2.875 2.156c.308.766.316 1.816.343 2.844c-1.11.093-2.02.293-2.656.718c-.844.567-1.2 1.438-1.375 2.094c-.176.657-.242 1.137-.469 1.5c-.226.364-.597.723-1.625 1.032c-.71.214-1.222.703-1.562 1.156s-.543.867-.782 1.218c-.476.704-.82 1.168-2.375 1.188c-.984.012-1.511-.18-1.875-.438c-.363-.257-.628-.632-.874-1.156c-.446-.945-1.043-1.64-1.782-2.062c-.738-.422-1.508-.63-2.531-.969c-.008-.016-.066-.09-.094-.281c-.05-.383-.02-1.059-.125-1.813s-.414-1.668-1.219-2.312c-.562-.453-1.367-.68-2.312-.813c.293-1.926 1.305-3.5 3.063-4.125c1.062-.375 1.585-1.3 1.937-2.187s.602-1.875.969-2.75s.8-1.614 1.5-2.156C13.418 5.394 14.402 5 16 5m-3 4c-.55 0-1 .672-1 1.5s.45 1.5 1 1.5s1-.672 1-1.5S13.55 9 13 9m4 0c-.55 0-1 .672-1 1.5s.45 1.5 1 1.5s1-.672 1-1.5S17.55 9 17 9"/>
</svg>
);Other libraries
Ghost in 8 more libraries
Each library draws it its own way. Open one to compare.
Line Awesome
More like it
Icons that share its tags, in the same style.
Search Line Awesome
Skip the copy and paste. With Pro, your AI agent finds and installs any Line Awesome icon from a prompt.
Get ProTags
Browse by tag
Ghost is tagged archive, unmaintained, halloween and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Line Awesome MCP, with Pro
Ask for Ghost or any of 1,544 Line Awesome 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 supernatural being often associated with Halloween or spooky themes. It is part of the Line Awesome icon library.
The ghost icon can be used in software applications, websites, and other digital platforms where a spooky or supernatural theme is required, such as in games, animations, or Halloween-themed websites.
From a UX perspective, the ghost icon can be used to communicate a sense of eeriness or playfulness.
Ghost is one of 1,544 icons in Line Awesome, made by Icons8 and released under Apache 2.0. It is drawn on a 32 × 32 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/la-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 1,544 Line Awesome 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 32 × 32 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. Apache 2.0 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: Apache 2.0 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 Line Awesome, 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 archive, unmaintained, halloween, supernatural and spooky. 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.
Line Awesome draws many icons in several styles: Solid next to the default. Open the library and pick a style above the grid to see Ghost's siblings in it.
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