Diamond Percent icon
A hand-drawn diamond percent 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
- Nature
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
diamond-percent
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 DiamondPercentIcon.tsx
import { SvgXml } from "react-native-svg";
const DiamondPercentIcon = `<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.2C12.7 3.2 13.4 3.5 13.9 4L20 10.1C21.1 11.2 21.1 12.9 20 14L13.9 20.1C12.8 21.2 11.1 21.2 10 20.1L3.9 14C2.8 12.9 2.8 11.2 3.9 10.1L10 4C10.5 3.5 11.3 3.2 12 3.2Z"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="9.3" y1="14.7" x2="14.7" y2="9.3"></line><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="9.3" cy="9.3" r="1"></circle><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="14.7" cy="14.7" r="1"></circle></svg>`;
<SvgXml xml={DiamondPercentIcon} 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 diamond-percent.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.2C12.7 3.2 13.4 3.5 13.9 4L20 10.1C21.1 11.2 21.1 12.9 20 14L13.9 20.1C12.8 21.2 11.1 21.2 10 20.1L3.9 14C2.8 12.9 2.8 11.2 3.9 10.1L10 4C10.5 3.5 11.3 3.2 12 3.2Z"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="9.3" y1="14.7" x2="14.7" y2="9.3"></line><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="9.3" cy="9.3" r="1"></circle><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="14.7" cy="14.7" r="1"></circle></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/diamond-percent.svg" width="24" height="24" alt="Diamond Percent" />