Tram Light icon
ph:tram-light
The Tram Light icon (ph:tram-light) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- vehicles, subway, railroad, public transit, transportation, commuter, light rail, shipping, traveling, places, locations, tramlight
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M184 50h-50V22h34a6 6 0 0 0 0-12H88a6 6 0 0 0 0 12h34v28H72a30 30 0 0 0-30 30v104a30 30 0 0 0 30 30h12l-16.8 22.4a6 6 0 1 0 9.6 7.2L99 214h58l22.2 29.6a6 6 0 0 0 9.6-7.2L172 214h12a30 30 0 0 0 30-30V80a30 30 0 0 0-30-30M72 62h112a18 18 0 0 1 18 18v42H54V80a18 18 0 0 1 18-18m112 140H72a18 18 0 0 1-18-18v-50h148v50a18 18 0 0 1-18 18m-90-30a10 10 0 1 1-10-10a10 10 0 0 1 10 10m88 0a10 10 0 1 1-10-10a10 10 0 0 1 10 10"/></svg>How to use the Tram Light icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:tram-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:tram-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:tram-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--tram-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:tram-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:tram-light"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/tram-light.svg" alt="Tram Light icon" width="24" height="24">Related icons in Phosphor
Tram Light icon FAQ
Is the Tram Light icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Tram Light icon in React?
Install @iconify/react and render <Icon icon="ph:tram-light" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Tram Light icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/tram-light.svg" alt="Tram Light icon">, or paste the SVG code inline to style it with CSS.