ICONYZ
English
Traffic Light Sharp Fill icon from Keyline Icons

Traffic Light Sharp Fill icon

keyline-icons:traffic-light-sharp-fill

The Traffic Light Sharp Fill icon (keyline-icons:traffic-light-sharp-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, lightsharp, sharpfill, trafficlightsharpfill
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-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>

How to use the Traffic Light Sharp Fill icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:traffic-light-sharp-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-sharp-fill"></iconify-icon>

HTML image

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

Related icons in Keyline Icons

Traffic Light Sharp Fill icon FAQ

Is the Traffic Light Sharp 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 Sharp Fill icon in React?

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

How do I add the Traffic Light Sharp 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-sharp-fill.svg" alt="Traffic Light Sharp Fill icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →