ICONYZ
English
Railway icon from Simple Icons

Railway icon

simple-icons:railway

The Railway icon (simple-icons:railway) is a free SVG icon from the Simple Icons set by Simple Icons Collaborators. It is drawn on a 24 × 24 grid. Simple Icons are released under the CC0 1.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
Simple Icons
Author
Simple Icons Collaborators
License
CC0-1.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M.113 10.27A13 13 0 0 0 0 11.48h18.23a2.3 2.3 0 0 0-.235-.347c-3.117-4.027-4.793-3.677-7.19-3.78c-.8-.034-1.34-.048-4.524-.048c-1.704 0-3.555.005-5.358.01c-.234.63-.459 1.24-.567 1.737h9.342v1.216H.113zm18.26 2.426H.009q.029.488.094.961h16.955c.754 0 1.179-.429 1.315-.96zm-17.318 4.28s2.81 6.902 10.93 7.024c4.855 0 9.027-2.883 10.92-7.024H1.056zM11.988 0C7.5 0 3.593 2.466 1.531 6.108l4.75-.005v-.002c3.71 0 3.849.016 4.573.047l.448.016c1.563.052 3.485.22 4.996 1.364c.82.621 2.007 1.99 2.712 2.965c.654.902.842 1.94.396 2.934c-.408.914-1.289 1.458-2.353 1.458H.391s.099.42.249.886h22.748A12 12 0 0 0 24 12.005C24 5.377 18.621 0 11.988 0"/></svg>

How to use the Railway icon

React

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

<Icon icon="simple-icons:railway" width="24" />

Vue

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

<template>
  <Icon icon="simple-icons:railway" width="24" />
</template>

Svelte

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

<Icon icon="simple-icons:railway" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[simple-icons--railway]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="simple-icons:railway"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/simple-icons/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. Simple Icons are released under the CC0 1.0 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="simple-icons: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/simple-icons/railway.svg" alt="Railway icon">, or paste the SVG code inline to style it with CSS.

Browse all Simple Icons →