Anvil icon
A hand-drawn anvil 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
- Work
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
anvil
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 AnvilIcon.tsx
import { SvgXml } from "react-native-svg";
const AnvilIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0.75 -0.75)"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.2 6.8C3.8 5.8 5.1 5.2 6.6 5.2L17.2 5.2C18.4 5.2 19.4 6.2 19.4 7.4L19.4 7.8C19.4 9 18.4 10 17.2 10L8.8 10C5.8 10 4 8.8 3.2 6.8Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.4 10C10.6 11.8 10 13.2 9 14.2L15 14.2C14 13.2 13.4 11.8 13.6 10"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6.8 18.4C6.8 17.1 7.9 16 9.2 16L14.8 16C16.1 16 17.2 17.1 17.2 18.4L17.2 18.8C17.2 19.7 16.5 20.4 15.6 20.4L8.4 20.4C7.5 20.4 6.8 19.7 6.8 18.8L6.8 18.4Z"></path></g></g></svg>`;
<SvgXml xml={AnvilIcon} 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 anvil.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g transform="translate(0.75 -0.75)"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.2 6.8C3.8 5.8 5.1 5.2 6.6 5.2L17.2 5.2C18.4 5.2 19.4 6.2 19.4 7.4L19.4 7.8C19.4 9 18.4 10 17.2 10L8.8 10C5.8 10 4 8.8 3.2 6.8Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.4 10C10.6 11.8 10 13.2 9 14.2L15 14.2C14 13.2 13.4 11.8 13.6 10"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M6.8 18.4C6.8 17.1 7.9 16 9.2 16L14.8 16C16.1 16 17.2 17.1 17.2 18.4L17.2 18.8C17.2 19.7 16.5 20.4 15.6 20.4L8.4 20.4C7.5 20.4 6.8 19.7 6.8 18.8L6.8 18.4Z"></path></g></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/anvil.svg" width="24" height="24" alt="Anvil" />