gentleface

Gentleface › Games & sports › ghost

ghost icon

Ghost: ghost, halloween, spooky, haunted. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated ghost-haunt · line-round

The ghost lifts off the ground while a wave runs along its hem and its sides sway. It glances from side to side, blinks twice, and sinks back to its place as the hem falls still.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.3 s to 2.85 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.856 14.856C13.759 14.952 13.641 15 13.5 15C13.362 15 13.244 14.951 13.146 14.854L11.5 13.207L10.854 13.854C10.681 14.026 10.484 14.16 10.26 14.257C10.018 14.362 9.764 14.414 9.5 14.414C9.236 14.414 8.982 14.362 8.74 14.257C8.516 14.16 8.319 14.026 8.146 13.854L7.5 13.207L6.854 13.854C6.681 14.026 6.484 14.16 6.26 14.257C6.018 14.362 5.764 14.414 5.5 14.414C5.236 14.414 4.982 14.362 4.74 14.257C4.516 14.16 4.319 14.026 4.146 13.854L3.5 13.207L1.854 14.854C1.754 14.953 1.636 15.003 1.5 15.003C1.364 15.003 1.246 14.953 1.146 14.854C1.049 14.756 1 14.638 1 14.5L1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5L14 14.5C14 14.641 13.952 14.759 13.856 14.856ZM3.5 12.207C3.776 12.207 4.012 12.305 4.207 12.5L4.854 13.146C5.032 13.325 5.248 13.414 5.5 13.414C5.752 13.414 5.968 13.325 6.146 13.146L6.793 12.5C6.988 12.305 7.224 12.207 7.5 12.207C7.776 12.207 8.012 12.305 8.207 12.5L8.854 13.146C9.032 13.325 9.248 13.414 9.5 13.414C9.752 13.414 9.968 13.325 10.146 13.146L10.793 12.5C10.988 12.305 11.224 12.207 11.5 12.207C11.776 12.207 12.012 12.305 12.207 12.5L13 13.293L13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5L2 13.293L2.793 12.5C2.988 12.305 3.224 12.207 3.5 12.207ZM4.293 6.293C4.488 6.098 4.724 6 5 6C5.276 6 5.512 6.098 5.707 6.293C5.902 6.488 6 6.724 6 7C6 7.276 5.902 7.512 5.707 7.707C5.512 7.902 5.276 8 5 8C4.724 8 4.488 7.902 4.293 7.707C4.098 7.512 4 7.276 4 7C4 6.724 4.098 6.488 4.293 6.293ZM9.293 6.293C9.488 6.098 9.724 6 10 6C10.276 6 10.512 6.098 10.707 6.293C10.902 6.488 11 6.724 11 7C11 7.276 10.902 7.512 10.707 7.707C10.512 7.902 10.276 8 10 8C9.724 8 9.488 7.902 9.293 7.707C9.098 7.512 9 7.276 9 7C9 6.724 9.098 6.488 9.293 6.293Z"/></svg>
React
// Gentleface "ghost" (line-round), MIT. https://gentleface.com/icons/ghost
import type { SVGProps } from 'react';

export function GhostIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.856 14.856C13.759 14.952 13.641 15 13.5 15C13.362 15 13.244 14.951 13.146 14.854L11.5 13.207L10.854 13.854C10.681 14.026 10.484 14.16 10.26 14.257C10.018 14.362 9.764 14.414 9.5 14.414C9.236 14.414 8.982 14.362 8.74 14.257C8.516 14.16 8.319 14.026 8.146 13.854L7.5 13.207L6.854 13.854C6.681 14.026 6.484 14.16 6.26 14.257C6.018 14.362 5.764 14.414 5.5 14.414C5.236 14.414 4.982 14.362 4.74 14.257C4.516 14.16 4.319 14.026 4.146 13.854L3.5 13.207L1.854 14.854C1.754 14.953 1.636 15.003 1.5 15.003C1.364 15.003 1.246 14.953 1.146 14.854C1.049 14.756 1 14.638 1 14.5L1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5L14 14.5C14 14.641 13.952 14.759 13.856 14.856ZM3.5 12.207C3.776 12.207 4.012 12.305 4.207 12.5L4.854 13.146C5.032 13.325 5.248 13.414 5.5 13.414C5.752 13.414 5.968 13.325 6.146 13.146L6.793 12.5C6.988 12.305 7.224 12.207 7.5 12.207C7.776 12.207 8.012 12.305 8.207 12.5L8.854 13.146C9.032 13.325 9.248 13.414 9.5 13.414C9.752 13.414 9.968 13.325 10.146 13.146L10.793 12.5C10.988 12.305 11.224 12.207 11.5 12.207C11.776 12.207 12.012 12.305 12.207 12.5L13 13.293L13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.129 6.126 2 6.801 2 7.5L2 13.293L2.793 12.5C2.988 12.305 3.224 12.207 3.5 12.207ZM4.293 6.293C4.488 6.098 4.724 6 5 6C5.276 6 5.512 6.098 5.707 6.293C5.902 6.488 6 6.724 6 7C6 7.276 5.902 7.512 5.707 7.707C5.512 7.902 5.276 8 5 8C4.724 8 4.488 7.902 4.293 7.707C4.098 7.512 4 7.276 4 7C4 6.724 4.098 6.488 4.293 6.293ZM9.293 6.293C9.488 6.098 9.724 6 10 6C10.276 6 10.512 6.098 10.707 6.293C10.902 6.488 11 6.724 11 7C11 7.276 10.902 7.512 10.707 7.707C10.512 7.902 10.276 8 10 8C9.724 8 9.488 7.902 9.293 7.707C9.098 7.512 9 7.276 9 7C9 6.724 9.098 6.488 9.293 6.293Z" />
    </svg>
  );
}
Vue
Vue: see /icons/ghost.md
Svelte
Svelte: see /icons/ghost.md
HTML img
HTML img: see /icons/ghost.md
CSS
CSS: see /icons/ghost.md
Data URL
Data URL: see /icons/ghost.md
Sprite
Sprite: see /icons/ghost.md
SwiftUI
SwiftUI: see /icons/ghost.md
Compose
Compose: see /icons/ghost.md
Android XML
Android XML: see /icons/ghost.md
Flutter
Flutter: see /icons/ghost.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { GhostIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
ghost, halloween, spooky, haunted
Alternatives
  • incognito: private browsing or an anonymous mode
Tags
ghost, spooky, halloween, spirit, phantom, haunted, boo
Category
Games & sports
Component name
GhostIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 1

More games & sports icons

For agents

Metadata: /icons/ghost.json · Markdown: /icons/ghost.md · SVG: https://gentleface.com/svg/{style}/16/ghost.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/ghost.png