Traffic Light icon
fa-solid:traffic-light
The Traffic Light icon (fa-solid:traffic-light) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 384 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 5 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 384 × 512
- Category
- Maps
- Tags
- trafficlight
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="384" height="512" viewBox="0 0 384 512"><path fill="currentColor" d="M384 192h-64v-37.88c37.2-13.22 64-48.38 64-90.12h-64V32c0-17.67-14.33-32-32-32H96C78.33 0 64 14.33 64 32v32H0c0 41.74 26.8 76.9 64 90.12V192H0c0 41.74 26.8 76.9 64 90.12V320H0c0 42.84 28.25 78.69 66.99 91.05C79.42 468.72 130.6 512 192 512s112.58-43.28 125.01-100.95C355.75 398.69 384 362.84 384 320h-64v-37.88c37.2-13.22 64-48.38 64-90.12M192 416c-26.51 0-48-21.49-48-48s21.49-48 48-48s48 21.49 48 48s-21.49 48-48 48m0-128c-26.51 0-48-21.49-48-48s21.49-48 48-48s48 21.49 48 48s-21.49 48-48 48m0-128c-26.51 0-48-21.49-48-48s21.49-48 48-48s48 21.49 48 48s-21.49 48-48 48"/></svg>How to use the Traffic Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:traffic-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:traffic-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:traffic-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--traffic-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:traffic-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-solid:traffic-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/traffic-light.svg" alt="Traffic Light icon" width="24" height="24">Traffic Light icon in other icon sets
Traffic Light icon FAQ
Is the Traffic Light icon free for commercial use?
Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Traffic Light icon in React?
Install @iconify/react and render <Icon icon="fa-solid:traffic-light" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Traffic Light icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa-solid/traffic-light.svg" alt="Traffic Light icon">, or paste the SVG code inline to style it with CSS.