horizontal traffic light emoji

horizontal-traffic-light from Twitter Emoji by Twitter · Default · Travel & Places · CC-BY-4.0 Attribution required.

Name
horizontal-traffic-light
Set
Twitter Emoji
Style
Default
Category
Travel & Places
Viewbox
36×36
License
CC BY 4.0

The same emoji in other sets

More travel & places icons from Twitter Emoji

Use the horizontal traffic light emoji

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 36 36"><path fill="#31373d" d="M36 23a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V13a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4z"/><circle cx="7" cy="18" r="4" fill="#77b255"/><circle cx="18" cy="18" r="4" fill="#ffcc4d"/><circle cx="29" cy="18" r="4" fill="#dd2e44"/></svg>

React

import type { SVGProps } from "react";

export function TwemojiHorizontalTrafficLight(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 36 36"><path fill="#31373d" d="M36 23a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V13a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4z"/><circle cx="7" cy="18" r="4" fill="#77b255"/><circle cx="18" cy="18" r="4" fill="#ffcc4d"/><circle cx="29" cy="18" r="4" fill="#dd2e44"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 36 36"><path fill="#31373d" d="M36 23a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V13a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4z"/><circle cx="7" cy="18" r="4" fill="#77b255"/><circle cx="18" cy="18" r="4" fill="#ffcc4d"/><circle cx="29" cy="18" r="4" fill="#dd2e44"/></svg>
</template>

CSS

.icon-horizontal-traffic-light {
  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%2036%2036%22%3E%3Cpath%20fill%3D%22%2331373d%22%20d%3D%22M36%2023a4%204%200%200%201-4%204H4a4%204%200%200%201-4-4V13a4%204%200%200%201%204-4h28a4%204%200%200%201%204%204z%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%224%22%20fill%3D%22%2377b255%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%224%22%20fill%3D%22%23ffcc4d%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%2218%22%20r%3D%224%22%20fill%3D%22%23dd2e44%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%2036%2036%22%3E%3Cpath%20fill%3D%22%2331373d%22%20d%3D%22M36%2023a4%204%200%200%201-4%204H4a4%204%200%200%201-4-4V13a4%204%200%200%201%204-4h28a4%204%200%200%201%204%204z%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%2218%22%20r%3D%224%22%20fill%3D%22%2377b255%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2218%22%20r%3D%224%22%20fill%3D%22%23ffcc4d%22%2F%3E%3Ccircle%20cx%3D%2229%22%20cy%3D%2218%22%20r%3D%224%22%20fill%3D%22%23dd2e44%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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