Barns icon
A hand-drawn barns 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
- Finance
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
barns
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 BarnsIcon.tsx
import { SvgXml } from "react-native-svg";
const BarnsIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 -0.75)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.4 20.8L4.4 11.4C4.4 10.9 4.5 10.4 4.7 10L5.9 7.6C6.2 7 6.6 6.6 7.2 6.3L11.4 4.1C11.8 3.9 12.3 3.9 12.7 4.1L16.9 6.3C17.5 6.6 17.9 7 18.2 7.6L19.4 10C19.6 10.4 19.7 10.9 19.7 11.4L19.7 20.8C19.7 21.3 19.3 21.7 18.8 21.7L5.3 21.7C4.8 21.7 4.4 21.3 4.4 20.8Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.6 20.8L9.6 16.2C9.6 15.3 10.3 14.6 11.2 14.6L12.8 14.6C13.7 14.6 14.4 15.3 14.4 16.2L14.4 20.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.9 14.9L14.1 20.8" stroke-dasharray="7.3"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.1 14.9L9.9 20.8" stroke-dasharray="7.3"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.9" y1="8.4" x2="13.1" y2="8.4"></line></g></svg>`;
<SvgXml xml={BarnsIcon} 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 barns.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0 -0.75)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M4.4 20.8L4.4 11.4C4.4 10.9 4.5 10.4 4.7 10L5.9 7.6C6.2 7 6.6 6.6 7.2 6.3L11.4 4.1C11.8 3.9 12.3 3.9 12.7 4.1L16.9 6.3C17.5 6.6 17.9 7 18.2 7.6L19.4 10C19.6 10.4 19.7 10.9 19.7 11.4L19.7 20.8C19.7 21.3 19.3 21.7 18.8 21.7L5.3 21.7C4.8 21.7 4.4 21.3 4.4 20.8Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.6 20.8L9.6 16.2C9.6 15.3 10.3 14.6 11.2 14.6L12.8 14.6C13.7 14.6 14.4 15.3 14.4 16.2L14.4 20.8"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.9 14.9L14.1 20.8" stroke-dasharray="7.3"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.1 14.9L9.9 20.8" stroke-dasharray="7.3"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="10.9" y1="8.4" x2="13.1" y2="8.4"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/barns.svg" width="24" height="24" alt="Barns" />