Traffic Light icon
la:traffic-light
The Traffic Light icon (la:traffic-light) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 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
- Line Awesome
- Author
- Icons8
- License
- Apache-2.0
- Size
- 32 × 32
- Category
- Maps
- Tags
- trafficlight, traffic light solid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M10 4v3H7v1c0 1.887.746 3.207 1.625 3.969c.441.383.91.656 1.313.812c.023.008.039-.008.062 0V13H7v1c0 1.887.746 3.207 1.625 3.969c.441.383.91.656 1.313.812c.023.008.039-.008.062 0V19H7v1c0 1.887.746 3.207 1.625 3.969c.441.383.91.656 1.313.812c.023.008.039-.008.062 0V28h12v-3.219c.023-.008.04.008.063 0c.402-.156.87-.43 1.312-.812C24.254 23.207 25 21.887 25 20v-1h-3v-.219c.023-.008.04.008.063 0c.402-.156.87-.43 1.312-.812C24.254 17.207 25 15.887 25 14v-1h-3v-.219c.023-.008.04.008.063 0c.402-.156.87-.43 1.312-.812C24.254 11.207 25 9.887 25 8V7h-3V4zm2 2h8v3h2.813c-.172.672-.418 1.184-.75 1.469c-.243.21-.508.355-.72.437c-.21.082-.425.094-.343.094h-1v4h2.813c-.172.672-.418 1.184-.75 1.469c-.243.21-.508.355-.72.437c-.21.082-.425.094-.343.094h-1v4h2.813c-.172.672-.418 1.184-.75 1.469c-.243.21-.508.355-.72.437c-.21.082-.425.094-.343.094h-1v3h-8v-3h-1c.082 0-.133-.012-.344-.094a2.5 2.5 0 0 1-.719-.437c-.332-.285-.578-.797-.75-1.469H12v-4h-1c.082 0-.133-.012-.344-.094a2.5 2.5 0 0 1-.719-.437c-.332-.285-.578-.797-.75-1.469H12v-4h-1c.082 0-.133-.012-.344-.094a2.5 2.5 0 0 1-.719-.437c-.332-.285-.578-.797-.75-1.469H12zm4 2a1.999 1.999 0 1 0 0 4a1.999 1.999 0 1 0 0-4m0 6a1.999 1.999 0 1 0 0 4a1.999 1.999 0 1 0 0-4m0 6a1.999 1.999 0 1 0 0 4a1.999 1.999 0 1 0 0-4"/></svg>How to use the Traffic Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="la:traffic-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="la:traffic-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="la:traffic-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[la--traffic-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:traffic-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="la:traffic-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/la/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. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Traffic Light icon in React?
Install @iconify/react and render <Icon icon="la: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/la/traffic-light.svg" alt="Traffic Light icon">, or paste the SVG code inline to style it with CSS.