Sword icon
A hand-drawn sword 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
- Security
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
sword
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 SwordIcon.tsx
import { SvgXml } from "react-native-svg";
const SwordIcon = `<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)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.6 17.6L9.35 12.35Q4.1 7.1 4.1 5.6L4.1 4.1L5.6 4.1Q7.1 4.1 12.55 9.35L18 14.6L14.6 17.6Z"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.4" y1="19.4" x2="19.2" y2="13.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="16.6" y1="16.6" x2="20.6" y2="20.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="19.9" y1="21.3" x2="21.4" y2="19.8"></line></g></svg>`;
<SvgXml xml={SwordIcon} 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 sword.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)"><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M14.6 17.6L9.35 12.35Q4.1 7.1 4.1 5.6L4.1 4.1L5.6 4.1Q7.1 4.1 12.55 9.35L18 14.6L14.6 17.6Z"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="13.4" y1="19.4" x2="19.2" y2="13.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="16.6" y1="16.6" x2="20.6" y2="20.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="19.9" y1="21.3" x2="21.4" y2="19.8"></line></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/sword.svg" width="24" height="24" alt="Sword" />