Traffic Cone icon
A hand-drawn traffic cone 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
- Buildings
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
traffic-cone
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 TrafficConeIcon.tsx
import { SvgXml } from "react-native-svg";
const TrafficConeIcon = `<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 4.4C12.4 4.4 12.8 4.7 12.9 5.1L16.2 17.8C16.3 18.2 16.1 18.6 15.7 18.7L8.3 18.7C7.9 18.6 7.7 18.2 7.8 17.8L11.1 5.1C11.2 4.7 11.6 4.4 12 4.4Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.8 9.8L14.2 9.8M8.8 13.8L15.2 13.8"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4.6" y1="20.6" x2="19.4" y2="20.6"></line></svg>`;
<SvgXml xml={TrafficConeIcon} 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 traffic-cone.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 4.4C12.4 4.4 12.8 4.7 12.9 5.1L16.2 17.8C16.3 18.2 16.1 18.6 15.7 18.7L8.3 18.7C7.9 18.6 7.7 18.2 7.8 17.8L11.1 5.1C11.2 4.7 11.6 4.4 12 4.4Z"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M9.8 9.8L14.2 9.8M8.8 13.8L15.2 13.8"></path><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4.6" y1="20.6" x2="19.4" y2="20.6"></line></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/traffic-cone.svg" width="24" height="24" alt="Traffic Cone" />