Building icon
A hand-drawn building 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
building
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 BuildingIcon.tsx
import { SvgXml } from "react-native-svg";
const BuildingIcon = `<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="M7.2 21L7.2 5.6C7.2 4.2 8.2 3.2 9.6 3.2L14.4 3.2C15.8 3.2 16.8 4.2 16.8 5.6L16.8 21"></path><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.6 6.8L11.2 6.8M12.8 6.8L14.4 6.8M9.6 10.4L11.2 10.4M12.8 10.4L14.4 10.4M9.6 14L11.2 14M12.8 14L14.4 14"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.9 21L10.9 18.3C10.9 17.7 11.4 17.4 12 17.4C12.6 17.4 13.1 17.7 13.1 18.3L13.1 21"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4.4" y1="21" x2="19.6" y2="21"></line></svg>`;
<SvgXml xml={BuildingIcon} 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 building.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="M7.2 21L7.2 5.6C7.2 4.2 8.2 3.2 9.6 3.2L14.4 3.2C15.8 3.2 16.8 4.2 16.8 5.6L16.8 21"></path><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.6 6.8L11.2 6.8M12.8 6.8L14.4 6.8M9.6 10.4L11.2 10.4M12.8 10.4L14.4 10.4M9.6 14L11.2 14M12.8 14L14.4 14"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.9 21L10.9 18.3C10.9 17.7 11.4 17.4 12 17.4C12.6 17.4 13.1 17.7 13.1 18.3L13.1 21"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4.4" y1="21" x2="19.6" y2="21"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/building.svg" width="24" height="24" alt="Building" />