ICONYZ
English
Train Rail icon from SmartIcons Glyph

Train Rail icon

si-glyph:train-rail

The Train Rail icon (si-glyph:train-rail) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph 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
SmartIcons Glyph
Author
SmartIcons
License
CC-BY-SA-4.0
Size
17 × 24
Tags
trainrail
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><g fill="currentColor" fill-rule="evenodd"><path d="M4.989 16h-.978l2-16h.978zm9 0h-.978l-2-16h.978z"/><path d="M3 13h12v.916H3zm0-3h12v.916H3zm1-3h10v.916H4zm0-3h10v.916H4zm1-3h8v.916H5z"/></g></svg>

How to use the Train Rail icon

React

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

<Icon icon="si-glyph:train-rail" width="24" />

Vue

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

<template>
  <Icon icon="si-glyph:train-rail" width="24" />
</template>

Svelte

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

<Icon icon="si-glyph:train-rail" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="si-glyph:train-rail"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si-glyph/train-rail.svg" alt="Train Rail icon" width="24" height="24">

Related icons in SmartIcons Glyph

Train Rail icon FAQ

Is the Train Rail icon free for commercial use?

Yes. SmartIcons Glyph 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 Train Rail icon in React?

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

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

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

Browse all SmartIcons Glyph icons →