Ghost icon
A hand-drawn ghost icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Brands
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
ghost
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX GhostIcon.tsx
import { SvgXml } from "react-native-svg";
const GhostIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5.6 20.2L5.6 10.8C5.6 6.6 8.4 3.8 12 3.8S18.4 6.6 18.4 10.8L18.4 20.2L16 18.5L14.1 20.2L12 18.7L10.95 19.45Q9.9 20.2 7.75 20.2L5.6 20.2Z"></path><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="9.9" cy="9.8" r="0.6"></circle><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="14.1" cy="9.8" r="0.6"></circle></g></svg>`;
<SvgXml xml={GhostIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG ghost.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5.6 20.2L5.6 10.8C5.6 6.6 8.4 3.8 12 3.8S18.4 6.6 18.4 10.8L18.4 20.2L16 18.5L14.1 20.2L12 18.7L10.95 19.45Q9.9 20.2 7.75 20.2L5.6 20.2Z"></path><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="9.9" cy="9.8" r="0.6"></circle><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="14.1" cy="9.8" r="0.6"></circle></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/ghost.svg" width="24" height="24" alt="Ghost" />