# traffic-cone icon

Traffic cone. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/traffic-cone

- Category: Transportation
- Use it for: traffic cone
- Tags: traffic-cone, cone, roadwork, construction, under-construction, caution, pylon
- Component name: TrafficConeIcon
- Added: 2026-10-15

## 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)

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/traffic-cone.svg · PNG https://gentleface.com/png/line-round/16/traffic-cone.png · https://gentleface.com/png/line-round/32/traffic-cone.png · https://gentleface.com/png/line-round/48/traffic-cone.png
- line-soft: https://gentleface.com/svg/line-soft/16/traffic-cone.svg · PNG https://gentleface.com/png/line-soft/16/traffic-cone.png · https://gentleface.com/png/line-soft/32/traffic-cone.png · https://gentleface.com/png/line-soft/48/traffic-cone.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/traffic-cone.svg · PNG https://gentleface.com/png/line-sharp/16/traffic-cone.png · https://gentleface.com/png/line-sharp/32/traffic-cone.png · https://gentleface.com/png/line-sharp/48/traffic-cone.png
- solid-round: https://gentleface.com/svg/solid-round/16/traffic-cone.svg · PNG https://gentleface.com/png/solid-round/16/traffic-cone.png · https://gentleface.com/png/solid-round/32/traffic-cone.png · https://gentleface.com/png/solid-round/48/traffic-cone.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/traffic-cone.svg · PNG https://gentleface.com/png/solid-soft/16/traffic-cone.png · https://gentleface.com/png/solid-soft/32/traffic-cone.png · https://gentleface.com/png/solid-soft/48/traffic-cone.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/traffic-cone.svg · PNG https://gentleface.com/png/solid-sharp/16/traffic-cone.png · https://gentleface.com/png/solid-sharp/32/traffic-cone.png · https://gentleface.com/png/solid-sharp/48/traffic-cone.png

The SVG of every style: https://gentleface.com/icons/traffic-cone.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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

```tsx
// 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
<!-- Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone -->
<template>
  <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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone -->
<script>
  let props = $props();
</script>

<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>
```

### HTML img

```html
<!-- Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/traffic-cone.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone. Takes the text color. */
.icon-traffic-cone {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#traffic-cone"/></svg>
```

### SwiftUI

```swift
// Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone
import SwiftUI

struct TrafficConeIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 5.772, y: 3.349))
        p.addCurve(to: CGPoint(x: 6.404, y: 2.377), control1: CGPoint(x: 5.871, y: 2.953), control2: CGPoint(x: 6.082, y: 2.629))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 6.726, y: 2.126), control2: CGPoint(x: 7.091, y: 2))
        p.addCurve(to: CGPoint(x: 8.596, y: 2.377), control1: CGPoint(x: 7.909, y: 2), control2: CGPoint(x: 8.274, y: 2.126))
        p.addCurve(to: CGPoint(x: 9.228, y: 3.349), control1: CGPoint(x: 8.918, y: 2.629), control2: CGPoint(x: 9.129, y: 2.953))
        p.addLine(to: CGPoint(x: 11.89, y: 14))
        p.addLine(to: CGPoint(x: 13.5, y: 14))
        p.addCurve(to: CGPoint(x: 13.856, y: 14.144), control1: CGPoint(x: 13.641, y: 14), control2: CGPoint(x: 13.759, y: 14.048))
        p.addCurve(to: CGPoint(x: 14, y: 14.5), control1: CGPoint(x: 13.952, y: 14.241), control2: CGPoint(x: 14, y: 14.359))
        p.addCurve(to: CGPoint(x: 13.856, y: 14.856), control1: CGPoint(x: 14, y: 14.641), control2: CGPoint(x: 13.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 15), control1: CGPoint(x: 13.759, y: 14.952), control2: CGPoint(x: 13.641, y: 15))
        p.addLine(to: CGPoint(x: 1.5, y: 15))
        p.addCurve(to: CGPoint(x: 1.144, y: 14.856), control1: CGPoint(x: 1.359, y: 15), control2: CGPoint(x: 1.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 1, y: 14.5), control1: CGPoint(x: 1.048, y: 14.759), control2: CGPoint(x: 1, y: 14.641))
        p.addCurve(to: CGPoint(x: 1.144, y: 14.144), control1: CGPoint(x: 1, y: 14.359), control2: CGPoint(x: 1.048, y: 14.241))
        p.addCurve(to: CGPoint(x: 1.5, y: 14), control1: CGPoint(x: 1.241, y: 14.048), control2: CGPoint(x: 1.359, y: 14))
        p.addLine(to: CGPoint(x: 3.11, y: 14))
        p.addLine(to: CGPoint(x: 5.772, y: 3.349))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.14, y: 6))
        p.addLine(to: CGPoint(x: 8.86, y: 6))
        p.addLine(to: CGPoint(x: 8.257, y: 3.591))
        p.addCurve(to: CGPoint(x: 7.98, y: 3.165), control1: CGPoint(x: 8.214, y: 3.418), control2: CGPoint(x: 8.122, y: 3.276))
        p.addCurve(to: CGPoint(x: 7.5, y: 3), control1: CGPoint(x: 7.839, y: 3.055), control2: CGPoint(x: 7.679, y: 3))
        p.addCurve(to: CGPoint(x: 7.02, y: 3.165), control1: CGPoint(x: 7.321, y: 3), control2: CGPoint(x: 7.161, y: 3.055))
        p.addCurve(to: CGPoint(x: 6.743, y: 3.591), control1: CGPoint(x: 6.878, y: 3.276), control2: CGPoint(x: 6.786, y: 3.418))
        p.addLine(to: CGPoint(x: 6.14, y: 6))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9.11, y: 7))
        p.addLine(to: CGPoint(x: 5.89, y: 7))
        p.addLine(to: CGPoint(x: 5.14, y: 10))
        p.addLine(to: CGPoint(x: 9.86, y: 10))
        p.addLine(to: CGPoint(x: 9.11, y: 7))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.14, y: 14))
        p.addLine(to: CGPoint(x: 10.86, y: 14))
        p.addLine(to: CGPoint(x: 10.11, y: 11))
        p.addLine(to: CGPoint(x: 4.89, y: 11))
        p.addLine(to: CGPoint(x: 4.14, y: 14))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// TrafficConeIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val TrafficConeIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "traffic-cone", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(TrafficConeIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_traffic_cone.xml · Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="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"/>
</vector>
```

### Flutter

```dart
// Gentleface "traffic-cone" (line-round), MIT. https://gentleface.com/icons/traffic-cone
import 'package:flutter/widgets.dart';

class TrafficConeIcon extends StatelessWidget {
  const TrafficConeIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _TrafficConeIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _TrafficConeIconPainter extends CustomPainter {
  _TrafficConeIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(5.772, 3.349)
      ..cubicTo(5.871, 2.953, 6.082, 2.629, 6.404, 2.377)
      ..cubicTo(6.726, 2.126, 7.091, 2, 7.5, 2)
      ..cubicTo(7.909, 2, 8.274, 2.126, 8.596, 2.377)
      ..cubicTo(8.918, 2.629, 9.129, 2.953, 9.228, 3.349)
      ..lineTo(11.89, 14)
      ..lineTo(13.5, 14)
      ..cubicTo(13.641, 14, 13.759, 14.048, 13.856, 14.144)
      ..cubicTo(13.952, 14.241, 14, 14.359, 14, 14.5)
      ..cubicTo(14, 14.641, 13.952, 14.759, 13.856, 14.856)
      ..cubicTo(13.759, 14.952, 13.641, 15, 13.5, 15)
      ..lineTo(1.5, 15)
      ..cubicTo(1.359, 15, 1.241, 14.952, 1.144, 14.856)
      ..cubicTo(1.048, 14.759, 1, 14.641, 1, 14.5)
      ..cubicTo(1, 14.359, 1.048, 14.241, 1.144, 14.144)
      ..cubicTo(1.241, 14.048, 1.359, 14, 1.5, 14)
      ..lineTo(3.11, 14)
      ..lineTo(5.772, 3.349)
      ..close()
      ..moveTo(6.14, 6)
      ..lineTo(8.86, 6)
      ..lineTo(8.257, 3.591)
      ..cubicTo(8.214, 3.418, 8.122, 3.276, 7.98, 3.165)
      ..cubicTo(7.839, 3.055, 7.679, 3, 7.5, 3)
      ..cubicTo(7.321, 3, 7.161, 3.055, 7.02, 3.165)
      ..cubicTo(6.878, 3.276, 6.786, 3.418, 6.743, 3.591)
      ..lineTo(6.14, 6)
      ..close()
      ..moveTo(9.11, 7)
      ..lineTo(5.89, 7)
      ..lineTo(5.14, 10)
      ..lineTo(9.86, 10)
      ..lineTo(9.11, 7)
      ..close()
      ..moveTo(4.14, 14)
      ..lineTo(10.86, 14)
      ..lineTo(10.11, 11)
      ..lineTo(4.89, 11)
      ..lineTo(4.14, 14)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_TrafficConeIconPainter old) => old.color != color;
}
```
