ICONYZ
English
Tram icon from Firefox OS Emoji

Tram icon

fxemoji:tram

The Tram icon (fxemoji:tram) is a free SVG icon from the Firefox OS Emoji set by Mozilla. It is drawn on a 512 × 512 grid. Firefox OS Emoji 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
Firefox OS Emoji
Author
Mozilla
License
Apache-2.0
Size
512 × 512
Category
Places
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="#132028" d="m312 27.429l-11-11V16h-90v.429l-11 11L244.571 72L232 84.571L243.429 96L256 83.429L268.571 96L280 84.571L267.429 72z"/><path fill="#FF473E" d="M128 64h256v368H128z"/><path fill="#F9F9F7" d="M136 72h240v224H136z"/><path fill="#FFD469" d="M276 340c0 11.046-8.954 20-20 20s-20-8.954-20-20s8.954-20 20-20s20 8.954 20 20m-97-4c-6.627 0-12 5.373-12 12s5.373 12 12 12s12-5.373 12-12s-5.373-12-12-12m152 0c-6.627 0-12 5.373-12 12s5.373 12 12 12s12-5.373 12-12s-5.373-12-12-12"/><path fill="#132028" d="M353 118H161V86h192zm-101 16H144v144h108zm8 0v144h108V134zm-51 362l16-64h-32l-64 64zm175 0l-64-64h-32l16 64z"/><path fill="#FFF" d="M227.429 32h57.142L256 60.571z"/></svg>

How to use the Tram icon

React

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

<Icon icon="fxemoji:tram" width="24" />

Vue

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

<template>
  <Icon icon="fxemoji:tram" width="24" />
</template>

Svelte

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

<Icon icon="fxemoji:tram" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fxemoji:tram"></iconify-icon>

HTML image

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

Related icons in Firefox OS Emoji

Tram icon in other icon sets

Tram icon FAQ

Is the Tram icon free for commercial use?

Yes. Firefox OS Emoji icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Tram icon in React?

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

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

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

Browse all Firefox OS Emoji icons →