Tram Car icon
openmoji:tram-car
The Tram Car icon (openmoji:tram-car) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Travel Places
- Tags
- tramcar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#fff" d="M22.645 27.793v7.451L65 36l.118-8.133z"/><path fill="#ea5a47" d="M21.526 35.564h45.278v12.025H21.526z"/><rect width="6.341" height="10.646" x="34.358" y="32.235" fill="#92d3f5" rx="1.058" ry="1.058"/><rect width="6.341" height="10.646" x="21.402" y="32.235" fill="#92d3f5" rx="1.058" ry="1.058"/><rect width="6.341" height="10.646" x="47.368" y="32.235" fill="#92d3f5" rx="1.058" ry="1.058"/><rect width="6.341" height="10.646" x="60.379" y="32.235" fill="#92d3f5" rx="1.058" ry="1.058"/><path fill="#d0cfce" d="M33.749 51.112a4.244 4.244 0 0 1-8.489 0m37.456 0a4.244 4.244 0 0 1-8.489 0"/><path fill="#3f3f3f" d="M22.196 47.049h43.938v4.063H22.196z"/><g fill="none" stroke="#000" stroke-linecap="round"><path stroke-linejoin="round" stroke-width="2" d="M3 56h64M21 16h46M34.358 26.392L40 21l-6-5"/><path stroke-miterlimit="10" stroke-width="2.074" d="M23.149 50.112h-.819a.89.89 0 0 1-.888-.889V28.29a1.9 1.9 0 0 1 1.896-1.897h41.485a1.9 1.9 0 0 1 1.896 1.897v20.935a.89.89 0 0 1-.888.888h-.829m-13.031-.002H35.845m-2.096 1.253a4.245 4.245 0 0 1-8.489.041v-.041m37.456-.252a4.244 4.244 0 0 1-8.489 0"/><rect width="6.341" height="10.646" x="34.358" y="32.245" stroke-miterlimit="10" stroke-width="2.074" rx="1.058" ry="1.058"/><rect width="6.341" height="10.646" x="21.402" y="32.245" stroke-miterlimit="10" stroke-width="2.074" rx="1.058" ry="1.058"/><rect width="6.341" height="10.646" x="47.196" y="32.324" stroke-miterlimit="10" stroke-width="2.074" rx="1.058" ry="1.058"/><rect width="6.341" height="10.646" x="60.379" y="32.324" stroke-miterlimit="10" stroke-width="2.074" rx="1.058" ry="1.058"/><path stroke-miterlimit="10" stroke-width="1.97" d="M20.384 47.031h47.368"/></g></svg>How to use the Tram Car icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:tram-car" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:tram-car" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:tram-car" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--tram-car]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:tram-car"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:tram-car"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/tram-car.svg" alt="Tram Car icon" width="24" height="24">Related icons in OpenMoji
Tram Car icon in other icon sets
Tram Car icon FAQ
Is the Tram Car icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Tram Car icon in React?
Install @iconify/react and render <Icon icon="openmoji:tram-car" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Tram Car icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/tram-car.svg" alt="Tram Car icon">, or paste the SVG code inline to style it with CSS.