ICONYZ
English
Traffic Light Sharp icon from Keyline Icons

Traffic Light Sharp icon

keyline-icons:traffic-light-sharp

The Traffic Light Sharp icon (keyline-icons:traffic-light-sharp) 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, trafficlightsharp
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 d="M7 2L17 2L17 17L7 17L7 2ZM8 5L4 5M16 5L20 5M8 10L4 10M16 10L20 10M12 16L12 23"/><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>

How to use the Traffic Light Sharp icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

HTML image

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

Related icons in Keyline Icons

Traffic Light Sharp icon in other icon sets

Traffic Light Sharp icon FAQ

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

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

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

Browse all Keyline Icons →