traffic light icon
traffic-light-duotone from Keyline Icons by Keyline Icons · Duotone · MIT Free for personal and commercial use.
- Name
- traffic-light-duotone
- Set
- Keyline Icons
- Style
- Duotone
- Viewbox
- 24×24
- License
- MIT
7 other variants in Keyline Icons
The same icon in other sets
All traffic light icons →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-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-opacity=".4" d="M10 1L14 1C16.2091 1 18 2.7909 18 5L18 14C18 16.2091 16.2091 18 14 18L10 18C7.7909 18 6 16.2091 6 14L6 5C6 2.7909 7.7909 1 10 1Z" stroke="none"/><path d="M7 5L5 5M17 5L19 5M7 10L5 10M17 10L19 10M12 17L12 22"/><path fill="currentColor" d="M13.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" stroke="none"/></g></svg>
React
import type { SVGProps } from "react";
export function KeylineIconsTrafficLightDuotone(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" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><path fill="currentColor" fillOpacity=".4" d="M10 1L14 1C16.2091 1 18 2.7909 18 5L18 14C18 16.2091 16.2091 18 14 18L10 18C7.7909 18 6 16.2091 6 14L6 5C6 2.7909 7.7909 1 10 1Z" stroke="none"/><path d="M7 5L5 5M17 5L19 5M7 10L5 10M17 10L19 10M12 17L12 22"/><path fill="currentColor" d="M13.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" stroke="none"/></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-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-opacity=".4" d="M10 1L14 1C16.2091 1 18 2.7909 18 5L18 14C18 16.2091 16.2091 18 14 18L10 18C7.7909 18 6 16.2091 6 14L6 5C6 2.7909 7.7909 1 10 1Z" stroke="none"/><path d="M7 5L5 5M17 5L19 5M7 10L5 10M17 10L19 10M12 17L12 22"/><path fill="currentColor" d="M13.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" stroke="none"/></g></svg> </template>
CSS
.icon-traffic-light-duotone {
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-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-opacity%3D%22.4%22%20d%3D%22M10%201L14%201C16.2091%201%2018%202.7909%2018%205L18%2014C18%2016.2091%2016.2091%2018%2014%2018L10%2018C7.7909%2018%206%2016.2091%206%2014L6%205C6%202.7909%207.7909%201%2010%201Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M7%205L5%205M17%205L19%205M7%2010L5%2010M17%2010L19%2010M12%2017L12%2022%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M13.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%20stroke%3D%22none%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-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-opacity%3D%22.4%22%20d%3D%22M10%201L14%201C16.2091%201%2018%202.7909%2018%205L18%2014C18%2016.2091%2016.2091%2018%2014%2018L10%2018C7.7909%2018%206%2016.2091%206%2014L6%205C6%202.7909%207.7909%201%2010%201Z%22%20stroke%3D%22none%22%2F%3E%3Cpath%20d%3D%22M7%205L5%205M17%205L19%205M7%2010L5%2010M17%2010L19%2010M12%2017L12%2022%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M13.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%20stroke%3D%22none%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-duotone.svg?color=%231a73e8&size=48