Alert Diamond icon
A hand-drawn alert diamond 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
- Messaging
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
alert-diamond
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 AlertDiamondIcon.tsx
import { SvgXml } from "react-native-svg";
const AlertDiamondIcon = `<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 3C12.9 3 13.7 3.3 14.3 3.9L20 9.6C20.6 10.2 20.9 11 20.9 11.9S20.6 13.6 20 14.2L14.3 19.9C13.7 20.5 12.9 20.8 12 20.8S10.3 20.5 9.7 19.9L4 14.2C3.4 13.6 3.1 12.8 3.1 11.9S3.4 10.2 4 9.6L9.7 3.9C10.3 3.3 11.1 3 12 3Z"></path><g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="8.2" x2="12" y2="12.6"></line><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="12" cy="15.9" r="1.15"></circle></g></svg>`;
<SvgXml xml={AlertDiamondIcon} 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 alert-diamond.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 3C12.9 3 13.7 3.3 14.3 3.9L20 9.6C20.6 10.2 20.9 11 20.9 11.9S20.6 13.6 20 14.2L14.3 19.9C13.7 20.5 12.9 20.8 12 20.8S10.3 20.5 9.7 19.9L4 14.2C3.4 13.6 3.1 12.8 3.1 11.9S3.4 10.2 4 9.6L9.7 3.9C10.3 3.3 11.1 3 12 3Z"></path><g><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="8.2" x2="12" y2="12.6"></line><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="12" cy="15.9" r="1.15"></circle></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/alert-diamond.svg" width="24" height="24" alt="Alert Diamond" />