ICONYZ
English
Train icon from Temaki

Train icon

temaki:train

The Train icon (temaki:train) is a free SVG icon from the Temaki set by Bryan Housel. It is drawn on a 15 × 15 grid. Temaki icons are released under the CC0 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
Temaki
Author
Bryan Housel
License
CC0-1.0
Size
15 × 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="m5.75 12.5l-.25.5h4l-.25-.5h1.5L12 15h-1.5l-.5-1H5l-.5 1H3l1.25-2.5zM13 3v7c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V3c0-1.1.9-2 2-2h7c1.1 0 2 .9 2 2M9 9.5c0 .55.45 1 1 1s1-.45 1-1s-.45-1-1-1s-1 .45-1 1m-3 0c0-.55-.45-1-1-1s-1 .45-1 1s.45 1 1 1s1-.45 1-1m-3-6l.01 3c0 .28.23.5.5.5h3c.27 0 .5-.22.5-.5l-.02-3c0-.28-.22-.5-.5-.5H3.5c-.28 0-.5.22-.5.5m5 0l.01 3c0 .28.23.5.5.5h3c.27 0 .5-.22.5-.5l-.02-3c0-.28-.22-.5-.5-.5H8.5c-.28 0-.5.22-.5.5"/></svg>

How to use the Train icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Temaki

Train icon in other icon sets

Train icon FAQ

Is the Train icon free for commercial use?

Yes. Temaki icons are released under the CC0 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="temaki: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/temaki/train.svg" alt="Train icon">, or paste the SVG code inline to style it with CSS.

Browse all Temaki icons →