Gavel icon
A hand-drawn gavel 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
gavel
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 GavelIcon.tsx
import { SvgXml } from "react-native-svg";
const GavelIcon = `<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="M6.2 5.6C7.1 4.7 8.5 4.7 9.4 5.6L12.8 9C13.7 9.9 13.7 11.3 12.8 12.2L12.2 12.8C11.3 13.7 9.9 13.7 9 12.8L5.6 9.4C4.7 8.5 4.7 7.1 5.6 6.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.8 10.4L17.6 17.4"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M15.8 20.4L20.6 20.4M17.4 18.6L19 20.4"></path></g></svg>`;
<SvgXml xml={GavelIcon} 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 gavel.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="M6.2 5.6C7.1 4.7 8.5 4.7 9.4 5.6L12.8 9C13.7 9.9 13.7 11.3 12.8 12.2L12.2 12.8C11.3 13.7 9.9 13.7 9 12.8L5.6 9.4C4.7 8.5 4.7 7.1 5.6 6.2Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M11.8 10.4L17.6 17.4"></path></g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M15.8 20.4L20.6 20.4M17.4 18.6L19 20.4"></path></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/gavel.svg" width="24" height="24" alt="Gavel" />