traffic lights icon
traffic-lights-line from MingCute Icon by MingCute Design · Line · Apache-2.0 Free for personal and commercial use.
- Name
- traffic-lights-line
- Set
- MingCute Icon
- Style
- Line
- Viewbox
- 24×24
- License
- Apache 2.0
1 other variant in MingCute Icon
The same icon in other sets
Related icons in MingCute Icon
Use the traffic lights icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="M10 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3z"/><path fill="none" stroke="currentColor" stroke-width="2" d="M13 7a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm0 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm0 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/></svg>
React
import type { SVGProps } from "react";
export function MingcuteTrafficLightsLine(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" strokeWidth="2" d="M10 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3z"/><path fill="none" stroke="currentColor" strokeWidth="2" d="M13 7a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm0 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm0 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="M10 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3z"/><path fill="none" stroke="currentColor" stroke-width="2" d="M13 7a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm0 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0Zm0 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0Z"/></svg> </template>
CSS
.icon-traffic-lights-line {
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%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M10%203a3%203%200%200%200-3%203v12a3%203%200%200%200%203%203h4a3%203%200%200%200%203-3V6a3%203%200%200%200-3-3z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M13%207a1%201%200%201%201-2%200a1%201%200%200%201%202%200Zm0%205a1%201%200%201%201-2%200a1%201%200%200%201%202%200Zm0%205a1%201%200%201%201-2%200a1%201%200%200%201%202%200Z%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%2024%2024%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M10%203a3%203%200%200%200-3%203v12a3%203%200%200%200%203%203h4a3%203%200%200%200%203-3V6a3%203%200%200%200-3-3z%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20d%3D%22M13%207a1%201%200%201%201-2%200a1%201%200%200%201%202%200Zm0%205a1%201%200%201%201-2%200a1%201%200%200%201%202%200Zm0%205a1%201%200%201%201-2%200a1%201%200%200%201%202%200Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/mingcute/traffic-lights-line.svg?color=%231a73e8&size=48