gentleface

Gentleface › Transportation › traffic-cone

traffic-cone icon

Traffic cone: traffic cone. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.772 3.349C5.871 2.953 6.082 2.629 6.404 2.377C6.726 2.126 7.091 2 7.5 2C7.909 2 8.274 2.126 8.596 2.377C8.918 2.629 9.129 2.953 9.228 3.349L11.89 14L13.5 14C13.641 14 13.759 14.048 13.856 14.144C13.952 14.241 14 14.359 14 14.5C14 14.641 13.952 14.759 13.856 14.856C13.759 14.952 13.641 15 13.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3.11 14L5.772 3.349ZM6.14 6L8.86 6L8.257 3.591C8.214 3.418 8.122 3.276 7.98 3.165C7.839 3.055 7.679 3 7.5 3C7.321 3 7.161 3.055 7.02 3.165C6.878 3.276 6.786 3.418 6.743 3.591L6.14 6ZM9.11 7L5.89 7L5.14 10L9.86 10L9.11 7ZM4.14 14L10.86 14L10.11 11L4.89 11L4.14 14Z"/></svg>
React
// Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone
import type { SVGProps } from 'react';

export function TrafficConeIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M5.772 3.349C5.871 2.953 6.082 2.629 6.404 2.377C6.726 2.126 7.091 2 7.5 2C7.909 2 8.274 2.126 8.596 2.377C8.918 2.629 9.129 2.953 9.228 3.349L11.89 14L13.5 14C13.641 14 13.759 14.048 13.856 14.144C13.952 14.241 14 14.359 14 14.5C14 14.641 13.952 14.759 13.856 14.856C13.759 14.952 13.641 15 13.5 15L1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5C1 14.359 1.048 14.241 1.144 14.144C1.241 14.048 1.359 14 1.5 14L3.11 14L5.772 3.349ZM6.14 6L8.86 6L8.257 3.591C8.214 3.418 8.122 3.276 7.98 3.165C7.839 3.055 7.679 3 7.5 3C7.321 3 7.161 3.055 7.02 3.165C6.878 3.276 6.786 3.418 6.743 3.591L6.14 6ZM9.11 7L5.89 7L5.14 10L9.86 10L9.11 7ZM4.14 14L10.86 14L10.11 11L4.89 11L4.14 14Z" />
    </svg>
  );
}
Vue
Vue: see /icons/traffic-cone.md
Svelte
Svelte: see /icons/traffic-cone.md
HTML img
HTML img: see /icons/traffic-cone.md
CSS
CSS: see /icons/traffic-cone.md
Data URL
Data URL: see /icons/traffic-cone.md
Sprite
Sprite: see /icons/traffic-cone.md
SwiftUI
SwiftUI: see /icons/traffic-cone.md
Compose
Compose: see /icons/traffic-cone.md
Android XML
Android XML: see /icons/traffic-cone.md
Flutter
Flutter: see /icons/traffic-cone.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
traffic cone
Alternatives
  • construction: roadwork or work in progress
  • barricade: road closed
Also fits
  • roadwork: a lane closure or hazard on the road
  • road closed: a traffic cone, a hazard on the road
Not for
  • cone solid (use cone): the striped road cone means construction or roadworks (traffic-cone)
Tags
traffic-cone, cone, roadwork, construction, under-construction, caution, pylon
Category
Transportation
Component name
TrafficConeIcon
History
  • added

More transportation icons

For agents

Metadata: /icons/traffic-cone.json · Markdown: /icons/traffic-cone.md · SVG: https://gentleface.com/svg/{style}/16/traffic-cone.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/traffic-cone.png

Feedback