traffic light icon

traffic-light-sharp-fill from Keyline Icons by Keyline Icons · Sharp Fill · MIT Free for personal and commercial use.

Name
traffic-light-sharp-fill
Set
Keyline Icons
Style
Sharp Fill
Viewbox
24×24
License
MIT

7 other variants in Keyline Icons

The same icon in other sets

Use the traffic light icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-rule="evenodd" d="M7 1L17 1C17.5523 1 18 1.4477 18 2L18 17C18 17.5523 17.5523 18 17 18L7 18C6.4477 18 6 17.5523 6 17L6 2C6 1.4477 6.4477 1 7 1ZM13.5 7C13.5 7.8284 12.8284 8.5 12 8.5C11.1716 8.5 10.5 7.8284 10.5 7C10.5 6.1716 11.1716 5.5 12 5.5C12.8284 5.5 13.5 6.1716 13.5 7ZM13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12Z" clip-rule="evenodd" stroke="none"/><path d="M8 5L4 5M16 5L20 5M8 10L4 10M16 10L20 10M12 16L12 23"/></g></svg>

React

import type { SVGProps } from "react";

export function KeylineIconsTrafficLightSharpFill(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinejoin="round" strokeWidth="2"><path fill="currentColor" fillRule="evenodd" d="M7 1L17 1C17.5523 1 18 1.4477 18 2L18 17C18 17.5523 17.5523 18 17 18L7 18C6.4477 18 6 17.5523 6 17L6 2C6 1.4477 6.4477 1 7 1ZM13.5 7C13.5 7.8284 12.8284 8.5 12 8.5C11.1716 8.5 10.5 7.8284 10.5 7C10.5 6.1716 11.1716 5.5 12 5.5C12.8284 5.5 13.5 6.1716 13.5 7ZM13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12Z" clipRule="evenodd" stroke="none"/><path d="M8 5L4 5M16 5L20 5M8 10L4 10M16 10L20 10M12 16L12 23"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-rule="evenodd" d="M7 1L17 1C17.5523 1 18 1.4477 18 2L18 17C18 17.5523 17.5523 18 17 18L7 18C6.4477 18 6 17.5523 6 17L6 2C6 1.4477 6.4477 1 7 1ZM13.5 7C13.5 7.8284 12.8284 8.5 12 8.5C11.1716 8.5 10.5 7.8284 10.5 7C10.5 6.1716 11.1716 5.5 12 5.5C12.8284 5.5 13.5 6.1716 13.5 7ZM13.5 12C13.5 12.8284 12.8284 13.5 12 13.5C11.1716 13.5 10.5 12.8284 10.5 12C10.5 11.1716 11.1716 10.5 12 10.5C12.8284 10.5 13.5 11.1716 13.5 12Z" clip-rule="evenodd" stroke="none"/><path d="M8 5L4 5M16 5L20 5M8 10L4 10M16 10L20 10M12 16L12 23"/></g></svg>
</template>

CSS

.icon-traffic-light-sharp-fill {
  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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M7%201L17%201C17.5523%201%2018%201.4477%2018%202L18%2017C18%2017.5523%2017.5523%2018%2017%2018L7%2018C6.4477%2018%206%2017.5523%206%2017L6%202C6%201.4477%206.4477%201%207%201ZM13.5%207C13.5%207.8284%2012.8284%208.5%2012%208.5C11.1716%208.5%2010.5%207.8284%2010.5%207C10.5%206.1716%2011.1716%205.5%2012%205.5C12.8284%205.5%2013.5%206.1716%2013.5%207ZM13.5%2012C13.5%2012.8284%2012.8284%2013.5%2012%2013.5C11.1716%2013.5%2010.5%2012.8284%2010.5%2012C10.5%2011.1716%2011.1716%2010.5%2012%2010.5C12.8284%2010.5%2013.5%2011.1716%2013.5%2012Z%22%20clip-rule%3D%22evenodd%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M8%205L4%205M16%205L20%205M8%2010L4%2010M16%2010L20%2010M12%2016L12%2023%22%2F%3E%3C%2Fg%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%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M7%201L17%201C17.5523%201%2018%201.4477%2018%202L18%2017C18%2017.5523%2017.5523%2018%2017%2018L7%2018C6.4477%2018%206%2017.5523%206%2017L6%202C6%201.4477%206.4477%201%207%201ZM13.5%207C13.5%207.8284%2012.8284%208.5%2012%208.5C11.1716%208.5%2010.5%207.8284%2010.5%207C10.5%206.1716%2011.1716%205.5%2012%205.5C12.8284%205.5%2013.5%206.1716%2013.5%207ZM13.5%2012C13.5%2012.8284%2012.8284%2013.5%2012%2013.5C11.1716%2013.5%2010.5%2012.8284%2010.5%2012C10.5%2011.1716%2011.1716%2010.5%2012%2010.5C12.8284%2010.5%2013.5%2011.1716%2013.5%2012Z%22%20clip-rule%3D%22evenodd%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M8%205L4%205M16%205L20%205M8%2010L4%2010M16%2010L20%2010M12%2016L12%2023%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/keyline-icons/traffic-light-sharp-fill.svg?color=%231a73e8&size=48