ICONYZ
English
Railway icon from SVG Logos

Railway icon

logos:railway

The Railway icon (logos:railway) is a free SVG icon from the SVG Logos set by Gil Barbara. It is drawn on a 256 × 256 grid. SVG Logos 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
SVG Logos
Author
Gil Barbara
License
CC0-1.0
Size
256 × 256
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="#100f13" d="M11.254 181.077h233.088C224.132 225.249 179.643 256 127.865 256c-86.63-1.308-116.61-74.923-116.61-74.923M127.864 0C198.633 0 256 57.339 256 128.054a127.6 127.6 0 0 1-6.524 40.164H6.818a141 141 0 0 1-2.645-9.437H181.94c11.358 0 20.737-5.812 25.096-15.554c4.736-10.6 2.732-21.665-4.233-31.29c-7.535-10.406-20.174-25.012-28.928-31.63c-16.126-12.201-36.622-13.991-53.297-14.547l-4.787-.177c-7.731-.323-9.202-.5-48.78-.5v.014c-.007 0-33.49.02-50.683.056C38.328 26.29 79.988 0 127.864 0M.1 135.424h195.883c-1.466 5.676-5.98 10.25-14.041 10.25H1.094c-.466-3.37-.79-6.787-.994-10.25m66.875-57.49c33.947 0 39.73.141 48.259.492c25.58 1.09 43.462-2.633 76.705 40.315c.92 1.17 1.832 2.366 2.51 3.693H0c.182-4.314.58-8.616 1.189-12.89h102.21V96.567H3.758c1.169-5.3 3.57-11.814 6.06-18.535c19.236-.052 38.988-.098 57.158-.098"/></svg>

How to use the Railway icon

React

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

<Icon icon="logos:railway" width="24" />

Vue

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

<template>
  <Icon icon="logos:railway" width="24" />
</template>

Svelte

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

<Icon icon="logos:railway" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="logos:railway"></iconify-icon>

HTML image

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

Browse all SVG Logos icons →