ICONYZ
English
Twotone Tram icon from Google Material Icons

Twotone Tram icon

ic:twotone-tram

The Twotone Tram icon (ic:twotone-tram) is a free SVG icon from the Google Material Icons set by Material Design Authors. It is drawn on a 24 × 24 grid. Google Material 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
Google Material Icons
Author
Material Design Authors
License
Apache-2.0
Size
24 × 24
Category
Maps
Tags
automobile, car, cars, direction, maps, public, rail, railway, subway, train, tram, transit, transportation, trolley, vehicle, twotonetram
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="M12.97 7h-1.94c-2.75.08-3.62.58-3.9 1h9.74c-.28-.42-1.15-.92-3.9-1M7 16v1c0 .45.3.84.74.95h3.11c-.22-.26-.35-.59-.35-.95c0-.39.15-.73.39-1zm6.5 1c0 .36-.13.69-.35.95h3.11c.44-.11.74-.5.74-.95v-1h-3.89c.24.27.39.61.39 1" opacity=".3"/><path fill="currentColor" d="m13 5l.75-1.5H17V2H7v1.5h4.75L11 5c-3.13.09-6 .73-6 3.5V17c0 1.5 1.11 2.73 2.55 2.95L6 21.5v.5h2l2-2h4l2 2h2v-.5l-1.55-1.55h-.01h.01C17.89 19.73 19 18.5 19 17V8.5c0-2.77-2.87-3.41-6-3.5m-1.97 2h1.94c2.75.08 3.62.58 3.9 1H7.13c.28-.42 1.15-.92 3.9-1m-.18 10.95H7.74A.974.974 0 0 1 7 17v-1h3.89c-.24.27-.39.61-.39 1c0 .36.13.69.35.95M17 17c0 .45-.3.84-.74.95h-3.11c.22-.26.35-.59.35-.95c0-.39-.15-.73-.39-1H17zm0-3H7v-4h10z"/></svg>

How to use the Twotone Tram icon

React

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

<Icon icon="ic:twotone-tram" width="24" />

Vue

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

<template>
  <Icon icon="ic:twotone-tram" width="24" />
</template>

Svelte

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

<Icon icon="ic:twotone-tram" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[ic--twotone-tram]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/ic -->
<div class="i-ic:twotone-tram"></div>

Web component

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

<iconify-icon icon="ic:twotone-tram"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ic/twotone-tram.svg" alt="Twotone Tram icon" width="24" height="24">

Related icons in Google Material Icons

Twotone Tram icon FAQ

Is the Twotone Tram icon free for commercial use?

Yes. Google Material Icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Twotone Tram icon in React?

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

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

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

Browse all Google Material Icons →