Traffic Cone icon
andrsrxn:traffic-cone
The Traffic Cone icon (andrsrxn:traffic-cone) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Transport
- Tags
- trafficcone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="m8.31 10.37l.18-.41a2 2 0 0 1 2.27-1.18l.84.18a2 2 0 0 0 .8.01l1.06-.2a2 2 0 0 1 2.28 1.31l.12.38A2 2 0 0 1 14.61 13l-1.97.67a2 2 0 0 1-1.28 0l-1.84-.62a2 2 0 0 1-1.2-2.68m-5.98 6.37l4.4-2.33v2.7L12 19.23l5-2.1l-.26-2.71l4.66 2.33l.26 1.28l-9.66 4.5l-9.41-4.51z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m6.63 14.74l-1.13.49c-2.1.9-3.15 1.36-3.16 2.13c0 .77 1.04 1.24 3.13 2.18l.76.34l3.97 1.86c.45.2 1.2.52 1.8.52c.54 0 1.46-.37 1.9-.58l3.87-1.8l.76-.34c2.09-.94 3.13-1.4 3.13-2.18c-.01-.77-1.06-1.23-3.16-2.13l-1-.49"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m17.16 14.32l-1.32-4.54c-1.57-5.34-2.35-8-3.85-8s-2.27 2.67-3.83 8l-1.33 4.54c-.33 1.13-.5 1.7-.17 2.38c.33.69.74.87 1.55 1.22a9.8 9.8 0 0 0 7.58 0c.81-.35 1.22-.53 1.55-1.22c.32-.68.15-1.25-.18-2.38"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16.45 12.36S14.85 13.7 12 13.7c-2.84 0-4.45-1.34-4.45-1.34m7.55-4.19s-1.12.93-3.1.93s-3.1-.93-3.1-.93"/></g></svg>How to use the Traffic Cone icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:traffic-cone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:traffic-cone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:traffic-cone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--traffic-cone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:traffic-cone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:traffic-cone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/traffic-cone.svg" alt="Traffic Cone icon" width="24" height="24">Related icons in andrsrxn/icons
Traffic Cone icon in other icon sets
Traffic Cone icon FAQ
Is the Traffic Cone icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Traffic Cone icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:traffic-cone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Traffic Cone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/traffic-cone.svg" alt="Traffic Cone icon">, or paste the SVG code inline to style it with CSS.