traffic signal icon

traffic-signal from Phosphor by Phosphor Icons · Regular · MIT Free for personal and commercial use.

Name
traffic-signal
Set
Phosphor
Style
Regular
Viewbox
256×256
License
MIT

5 other variants in Phosphor

Related icons in Phosphor

Use the traffic signal icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M128 56a32 32 0 1 0 32 32a32 32 0 0 0-32-32m0 48a16 16 0 1 1 16-16a16 16 0 0 1-16 16m0 32a32 32 0 1 0 32 32a32 32 0 0 0-32-32m0 48a16 16 0 1 1 16-16a16 16 0 0 1-16 16m88-40h-16V80h16a8 8 0 0 0 0-16h-16V40a16 16 0 0 0-16-16H72a16 16 0 0 0-16 16v24H40a8 8 0 0 0 0 16h16v64H40a8 8 0 0 0 0 16h16v56a16 16 0 0 0 16 16h112a16 16 0 0 0 16-16v-56h16a8 8 0 0 0 0-16m-32 72H72V40h112z"/></svg>

React

import type { SVGProps } from "react";

export function PhTrafficSignal(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M128 56a32 32 0 1 0 32 32a32 32 0 0 0-32-32m0 48a16 16 0 1 1 16-16a16 16 0 0 1-16 16m0 32a32 32 0 1 0 32 32a32 32 0 0 0-32-32m0 48a16 16 0 1 1 16-16a16 16 0 0 1-16 16m88-40h-16V80h16a8 8 0 0 0 0-16h-16V40a16 16 0 0 0-16-16H72a16 16 0 0 0-16 16v24H40a8 8 0 0 0 0 16h16v64H40a8 8 0 0 0 0 16h16v56a16 16 0 0 0 16 16h112a16 16 0 0 0 16-16v-56h16a8 8 0 0 0 0-16m-32 72H72V40h112z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 256 256"><path fill="currentColor" d="M128 56a32 32 0 1 0 32 32a32 32 0 0 0-32-32m0 48a16 16 0 1 1 16-16a16 16 0 0 1-16 16m0 32a32 32 0 1 0 32 32a32 32 0 0 0-32-32m0 48a16 16 0 1 1 16-16a16 16 0 0 1-16 16m88-40h-16V80h16a8 8 0 0 0 0-16h-16V40a16 16 0 0 0-16-16H72a16 16 0 0 0-16 16v24H40a8 8 0 0 0 0 16h16v64H40a8 8 0 0 0 0 16h16v56a16 16 0 0 0 16 16h112a16 16 0 0 0 16-16v-56h16a8 8 0 0 0 0-16m-32 72H72V40h112z"/></svg>
</template>

CSS

.icon-traffic-signal {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M128%2056a32%2032%200%201%200%2032%2032a32%2032%200%200%200-32-32m0%2048a16%2016%200%201%201%2016-16a16%2016%200%200%201-16%2016m0%2032a32%2032%200%201%200%2032%2032a32%2032%200%200%200-32-32m0%2048a16%2016%200%201%201%2016-16a16%2016%200%200%201-16%2016m88-40h-16V80h16a8%208%200%200%200%200-16h-16V40a16%2016%200%200%200-16-16H72a16%2016%200%200%200-16%2016v24H40a8%208%200%200%200%200%2016h16v64H40a8%208%200%200%200%200%2016h16v56a16%2016%200%200%200%2016%2016h112a16%2016%200%200%200%2016-16v-56h16a8%208%200%200%200%200-16m-32%2072H72V40h112z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M128%2056a32%2032%200%201%200%2032%2032a32%2032%200%200%200-32-32m0%2048a16%2016%200%201%201%2016-16a16%2016%200%200%201-16%2016m0%2032a32%2032%200%201%200%2032%2032a32%2032%200%200%200-32-32m0%2048a16%2016%200%201%201%2016-16a16%2016%200%200%201-16%2016m88-40h-16V80h16a8%208%200%200%200%200-16h-16V40a16%2016%200%200%200-16-16H72a16%2016%200%200%200-16%2016v24H40a8%208%200%200%200%200%2016h16v64H40a8%208%200%200%200%200%2016h16v56a16%2016%200%200%200%2016%2016h112a16%2016%200%200%200%2016-16v-56h16a8%208%200%200%200%200-16m-32%2072H72V40h112z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ph/traffic-signal.svg?color=%231a73e8&size=48