Castle icon
A hand-drawn castle 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
- Buildings
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
castle
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 CastleIcon.tsx
import { SvgXml } from "react-native-svg";
const CastleIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.2 4.6L15.8 4.6C16.3 4.6 16.7 5 16.7 5.5L16.7 6.8C16.7 7.3 16.3 7.7 15.8 7.7L8.2 7.7C7.7 7.7 7.3 7.3 7.3 6.8L7.3 5.5C7.3 5 7.7 4.6 8.2 4.6Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 4.6L8.4 2.9M12 4.6L12 2.9M15.6 4.6L15.6 2.9"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.3 7.5L6.1 20.8L17.9 20.8L15.7 7.5"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M2.4 20.8L2.4 16.2L3.5 16.2L3.5 15.1L4.6 15.1L4.6 16.2L5.9 16.2L5.9 20.8M17 20.8L17 16.2L18.3 16.2L18.3 15.1L19.4 15.1L19.4 16.2L20.5 16.2L20.5 20.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.1 20.8L10.1 18.3C10.1 17.2 11 16.3 12.1 16.3S14 17.2 14 18.3L14 20.8"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.4" y1="20.8" x2="21.6" y2="20.8"></line></svg>`;
<SvgXml xml={CastleIcon} 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 castle.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.2 4.6L15.8 4.6C16.3 4.6 16.7 5 16.7 5.5L16.7 6.8C16.7 7.3 16.3 7.7 15.8 7.7L8.2 7.7C7.7 7.7 7.3 7.3 7.3 6.8L7.3 5.5C7.3 5 7.7 4.6 8.2 4.6Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.4 4.6L8.4 2.9M12 4.6L12 2.9M15.6 4.6L15.6 2.9"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M8.3 7.5L6.1 20.8L17.9 20.8L15.7 7.5"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M2.4 20.8L2.4 16.2L3.5 16.2L3.5 15.1L4.6 15.1L4.6 16.2L5.9 16.2L5.9 20.8M17 20.8L17 16.2L18.3 16.2L18.3 15.1L19.4 15.1L19.4 16.2L20.5 16.2L20.5 20.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.1 20.8L10.1 18.3C10.1 17.2 11 16.3 12.1 16.3S14 17.2 14 18.3L14 20.8"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.4" y1="20.8" x2="21.6" y2="20.8"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/castle.svg" width="24" height="24" alt="Castle" />