City02 icon
A hand-drawn city02 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
city02
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 City02Icon.tsx
import { SvgXml } from "react-native-svg";
const City02Icon = `<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="M9.4 21L9.4 6.2C9.4 4.8 10 4.3 11.3 4.3L12.7 4.3C14 4.3 14.6 4.8 14.6 6.2L14.6 21"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.2 21L4.2 14.7C4.2 13.5 4.7 13 5.9 13L9.4 13"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M19.8 21L19.8 14.7C19.8 13.5 19.3 13 18.1 13L14.6 13"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="4.3" x2="12" y2="2.8"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.8" y1="21" x2="21.2" y2="21"></line><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.8 8.4L13.2 8.4M10.8 11.9L13.2 11.9M10.8 15.4L13.2 15.4"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="21" x2="12" y2="18.4"></line></svg>`;
<SvgXml xml={City02Icon} 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 city02.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="M9.4 21L9.4 6.2C9.4 4.8 10 4.3 11.3 4.3L12.7 4.3C14 4.3 14.6 4.8 14.6 6.2L14.6 21"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.2 21L4.2 14.7C4.2 13.5 4.7 13 5.9 13L9.4 13"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M19.8 21L19.8 14.7C19.8 13.5 19.3 13 18.1 13L14.6 13"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="4.3" x2="12" y2="2.8"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="2.8" y1="21" x2="21.2" y2="21"></line><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.8 8.4L13.2 8.4M10.8 11.9L13.2 11.9M10.8 15.4L13.2 15.4"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="21" x2="12" y2="18.4"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/city02.svg" width="24" height="24" alt="City02" />