Railway icon
zmdi:railway
The Railway icon (zmdi:railway) is a free SVG icon from the Material Design Iconic Font set by MDI Community. It is drawn on a 344 × 432 grid. Material Design Iconic Font icons are released under the Open Font 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
- Material Design Iconic Font
- Author
- MDI Community
- License
- OFL-1.1
- Size
- 344 × 432
- Tags
- directions railway
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="344" height="432" viewBox="0 0 344 432"><path fill="currentColor" d="M0 315V91q0-27 12.5-45t38-26.5t53-11.5t67-3t67 3t53 11.5t38 26.5T341 91v224q0 31-21.5 52.5T267 389l32 32v11H43v-11l32-32q-31 0-53-21.5T0 315m170.5 32q17.5 0 30-12.5T213 304t-12.5-30.5t-30-12.5t-30 12.5T128 304t12.5 30.5t30 12.5M299 197V91H43v106z"/></svg>How to use the Railway icon
React
import { Icon } from "@iconify/react";
<Icon icon="zmdi:railway" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="zmdi:railway" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="zmdi:railway" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[zmdi--railway]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/zmdi -->
<div class="i-zmdi:railway"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="zmdi:railway"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/zmdi/railway.svg" alt="Railway icon" width="24" height="24">Railway icon in other icon sets
Railway icon FAQ
Is the Railway icon free for commercial use?
Yes. Material Design Iconic Font icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Railway icon in React?
Install @iconify/react and render <Icon icon="zmdi:railway" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Railway icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/zmdi/railway.svg" alt="Railway icon">, or paste the SVG code inline to style it with CSS.