ICONYZ
English
Railway icon from Boxicons Brands

Railway icon

bxl:railway

The Railway icon (bxl:railway) is a free SVG icon from the Boxicons Brands set by Boxicons. It is drawn on a 24 × 24 grid. Boxicons Brands icons are released under the MIT 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
Boxicons Brands
Author
Boxicons
License
MIT
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="M2.09 10.56c-.05.33-.08.67-.09 1.01h15.19c-.05-.1-.13-.2-.2-.29C14.39 7.92 13 8.21 11 8.13c-.66-.03-1.12-.04-3.77-.04H2.77c-.19.47-.35.96-.47 1.45h7.79v1.01h-8Zm15.22 2.02H2.01c.02.27.04.54.08.8h14.13c.63 0 .98-.36 1.1-.8ZM2.88 16.15S5.22 21.9 11.99 22c4.04 0 7.52-2.4 9.1-5.85z"/><path fill="currentColor" d="M11.99 2C8.38 2 5.05 3.94 3.28 7.09h3.96c3.09 0 3.21 0 3.81.04h.37c1.3.06 2.9.2 4.16 1.15c.68.52 1.67 1.66 2.26 2.47c.54.75.7 1.62.33 2.45c-.34.76-1.07 1.21-1.96 1.21H2.33s.08.35.21.74H21.5c.34-1.01.51-2.07.51-3.14c0-5.53-4.48-10-10.01-10Z"/></svg>

How to use the Railway icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Browse all Boxicons Brands icons →