ICONYZ
English
Train icon from Firefox OS Emoji

Train icon

fxemoji:train

The Train icon (fxemoji:train) 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="#009E83" d="M96 64h320v368H96z"/><path fill="#F9F9F7" d="M416 64H96v119h.019l-.019.019l160 160l160-160l-.019-.019H416z"/><path fill="#FFD469" d="M208 340c0 11.046-8.954 20-20 20s-20-8.954-20-20s8.954-20 20-20s20 8.954 20 20m116-20c-11.046 0-20 8.954-20 20s8.954 20 20 20s20-8.954 20-20s-8.954-20-20-20m-180 8c-6.627 0-12 5.373-12 12s5.373 12 12 12s12-5.373 12-12s-5.373-12-12-12m222 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="m129 496l64-64h32l-16 64zm255 0l-64-64h-32l16 64zM168 128h-52v96h52zm8 96h160v-96H176zm168-96v96h52v-96z"/><path fill="#009E83" d="M320.019 64H96v368h320V64zM408 424H104V72h95.981L256 128.019L312.019 72H408z"/><path fill="#575A5B" d="M96 384h320v48H96z"/></svg>

How to use the Train icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Train icon in other icon sets

Train icon FAQ

Is the Train 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 Train icon in React?

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

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

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

Browse all Firefox OS Emoji icons →