ICONYZ
English
Rail Metro icon from Maki

Rail Metro icon

maki:rail-metro

The Rail Metro icon (maki:rail-metro) is a free SVG icon from the Maki set by Mapbox. It is drawn on a 15 × 15 grid. Maki 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
Maki
Author
Mapbox
License
CC0-1.0
Size
15 × 15
Tags
railmetro, rail metro 15
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M5.5 0s-.75 0-1 1L3 6.5V10c0 1 1 1 1 1h7s1 0 1-1V6.5L10.5 1c-.273-1-1-1-1-1zm1 1.5h2s.536 0 .75 1L10 6c.215 1.002-1 1-1 1H6s-1.215.002-1-1l.75-3.5c.214-1 .75-1 .75-1M5 8a1 1 0 1 1 0 2a1 1 0 0 1 0-2m1.75 0h1.5a.25.25 0 1 1 0 .5h-1.5a.25.25 0 1 1 0-.5M10 8a1 1 0 1 1 0 2a1 1 0 0 1 0-2m-5.875 4L3 15h1.5l.375-1h5.25l.375 1H12l-1.125-3h-1.5l.375 1h-4.5l.375-1z"/></svg>

How to use the Rail Metro icon

React

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

<Icon icon="maki:rail-metro" width="24" />

Vue

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

<template>
  <Icon icon="maki:rail-metro" width="24" />
</template>

Svelte

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

<Icon icon="maki:rail-metro" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[maki--rail-metro]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/maki -->
<div class="i-maki:rail-metro"></div>

Web component

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

<iconify-icon icon="maki:rail-metro"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/maki/rail-metro.svg" alt="Rail Metro icon" width="24" height="24">

Related icons in Maki

Rail Metro icon FAQ

Is the Rail Metro icon free for commercial use?

Yes. Maki icons are released under the CC0 license, which allows use in personal and commercial projects.

How do I use the Rail Metro icon in React?

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

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

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

Browse all Maki icons →