ICONYZ
English
Traffic Light Fill icon from Keyline Icons

Traffic Light Fill icon

keyline-icons:traffic-light-fill

The Traffic Light Fill icon (keyline-icons:traffic-light-fill) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
trafficlight, lightfill, trafficlightfill
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-rule="evenodd" 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 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="M7 5L5 5M17 5L19 5M7 10L5 10M17 10L19 10M12 17L12 22"/></g></svg>

How to use the Traffic Light Fill icon

React

import { Icon } from "@iconify/react";

<Icon icon="keyline-icons:traffic-light-fill" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="keyline-icons:traffic-light-fill" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="keyline-icons:traffic-light-fill" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--traffic-light-fill]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:traffic-light-fill"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="keyline-icons:traffic-light-fill"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/traffic-light-fill.svg" alt="Traffic Light Fill icon" width="24" height="24">

Related icons in Keyline Icons

Traffic Light Fill icon in other icon sets

Traffic Light Fill icon FAQ

Is the Traffic Light Fill icon free for commercial use?

Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Traffic Light Fill icon in React?

Install @iconify/react and render <Icon icon="keyline-icons:traffic-light-fill" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Traffic Light Fill icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/traffic-light-fill.svg" alt="Traffic Light Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →