Danger icon
A hand-drawn danger 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
danger
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 DangerIcon.tsx
import { SvgXml } from "react-native-svg";
const DangerIcon = `<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="M12 3.6C7.7 3.6 4.6 6.5 4.6 10.6C4.6 13 5.7 14.9 7.6 16.1L7.6 18.3C7.6 19.3 8.4 20.2 9.5 20.2L14.5 20.2C15.5 20.2 16.4 19.3 16.4 18.3L16.4 16.1C18.3 14.9 19.4 13 19.4 10.6C19.4 6.5 16.3 3.6 12 3.6Z"></path><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="8.9" cy="10.9" r="1.6"></circle><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="15.1" cy="10.9" r="1.6"></circle><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 14.2L12 15.7"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.3 18.2L10.3 20M13.7 18.2L13.7 20"></path></svg>`;
<SvgXml xml={DangerIcon} 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 danger.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="M12 3.6C7.7 3.6 4.6 6.5 4.6 10.6C4.6 13 5.7 14.9 7.6 16.1L7.6 18.3C7.6 19.3 8.4 20.2 9.5 20.2L14.5 20.2C15.5 20.2 16.4 19.3 16.4 18.3L16.4 16.1C18.3 14.9 19.4 13 19.4 10.6C19.4 6.5 16.3 3.6 12 3.6Z"></path><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="8.9" cy="10.9" r="1.6"></circle><circle stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" cx="15.1" cy="10.9" r="1.6"></circle><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M12 14.2L12 15.7"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M10.3 18.2L10.3 20M13.7 18.2L13.7 20"></path></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/danger.svg" width="24" height="24" alt="Danger" />