ICONYZ
English
Tram Outline icon from Material Symbols Light

Tram Outline icon

material-symbols-light:tram-outline

The Tram Outline icon (material-symbols-light:tram-outline) is a free SVG icon from the Material Symbols Light set by Google. It is drawn on a 24 × 24 grid. Material Symbols Light 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
Material Symbols Light
Author
Google
License
Apache-2.0
Size
24 × 24
Category
Transit
Tags
automobile, car, cars, direction, maps, public, rail, railway, subway, train, tram, transit, transportation, trolley, vehicle, tramoutline
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5 17.116V8q0-1.829 1.856-2.386T11.462 5l.75-1.5H7.077v-.885h9.846V3.5h-3.634l-.75 1.5q2.801.056 4.631.61Q19 6.167 19 8v9.116q0 1.205-.84 2.045q-.839.839-2.044.839l1.5 1.5v.5h-.847l-2-2H9.231l-2 2h-.846v-.5l1.5-1.5q-1.206 0-2.045-.84Q5 18.322 5 17.117M16.116 14H6h12zm-3.323 3.293q.323-.322.323-.793t-.323-.793q-.322-.323-.793-.323t-.793.323q-.323.322-.323.793t.323.793q.322.323.793.323t.793-.323M11.99 7.54h5.93H6.092zM6 13h12V8.539H6zm1.885 6h8.23q.785 0 1.335-.55t.55-1.335V14H6v3.116q0 .784.55 1.334t1.335.55m4.104-13q-3.1 0-4.377.401t-1.52 1.138H17.92q-.242-.754-1.53-1.147T11.989 6"/></svg>

How to use the Tram Outline icon

React

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

<Icon icon="material-symbols-light:tram-outline" width="24" />

Vue

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

<template>
  <Icon icon="material-symbols-light:tram-outline" width="24" />
</template>

Svelte

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

<Icon icon="material-symbols-light:tram-outline" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols-light--tram-outline]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/material-symbols-light -->
<div class="i-material-symbols-light:tram-outline"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="material-symbols-light:tram-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-symbols-light/tram-outline.svg" alt="Tram Outline icon" width="24" height="24">

Related icons in Material Symbols Light

Tram Outline icon in other icon sets

Tram Outline icon FAQ

Is the Tram Outline icon free for commercial use?

Yes. Material Symbols Light icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Tram Outline icon in React?

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

How do I add the Tram Outline icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/material-symbols-light/tram-outline.svg" alt="Tram Outline icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Symbols Light icons →