ICONYZ
English
Subway icon from SmartIcons Glyph

Subway icon

si-glyph:subway

The Subway icon (si-glyph:subway) is a free SVG icon from the SmartIcons Glyph set by SmartIcons. It is drawn on a 17 × 24 grid. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
SmartIcons Glyph
Author
SmartIcons
License
CC-BY-SA-4.0
Size
17 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="17" height="24" viewBox="0 0 17 24"><g fill="currentColor" fill-rule="evenodd"><path d="M5 15.979h-.979l1-4H6zm8 0h-.979l-1-4H12z"/><path d="M5 14h6.9v.926H5zM11.988.038H5.095c-2.242 0-3.054.688-3.054 2.775v7.784c0 1.848.813 2.441 2.984 2.441h7.725c1.574 0 2.291-.602 2.291-2.44V2.812c0-2.087-.81-2.775-3.053-2.775zM6.213 1h4.574c.117 0 .213.226.213.5c0 .273-.096.5-.213.5H6.213C6.096 2 6 1.773 6 1.5c0-.274.096-.5.213-.5m-.197 10.016H3.969V8.985h2.047zm7 0h-2.047V8.985h2.047zm.037-5.235c0 1.064-.166 1.257-1.128 1.257H5.091c-.964 0-1.127-.146-1.127-1.21V4.156c0-1.062.163-1.198 1.127-1.198h6.834c.962 0 1.128.198 1.128 1.261z"/></g></svg>

How to use the Subway icon

React

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

<Icon icon="si-glyph:subway" width="24" />

Vue

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

<template>
  <Icon icon="si-glyph:subway" width="24" />
</template>

Svelte

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

<Icon icon="si-glyph:subway" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[si-glyph--subway]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/si-glyph -->
<div class="i-si-glyph:subway"></div>

Web component

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

<iconify-icon icon="si-glyph:subway"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/si-glyph/subway.svg" alt="Subway icon" width="24" height="24">

Subway icon in other icon sets

Subway icon FAQ

Is the Subway icon free for commercial use?

Yes. SmartIcons Glyph icons are released under the CC BY SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Subway icon in React?

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

How do I add the Subway icon to a web page?

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

Browse all SmartIcons Glyph icons →