ICONYZ
English
Subway icon from Material Design Iconic Font

Subway icon

zmdi:subway

The Subway icon (zmdi:subway) is a free SVG icon from the Material Design Iconic Font set by MDI Community. It is drawn on a 344 × 408 grid. Material Design Iconic Font icons are released under the Open Font 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
Material Design Iconic Font
Author
MDI Community
License
OFL-1.1
Size
344 × 408
Tags
directions subway
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="344" height="408" viewBox="0 0 344 408"><path fill="currentColor" d="M170.5 3q39.5 0 67 3t53 11.5t38 26T341 88v203q0 31-21.5 52.5T267 365l32 32v11H43v-11l32-32q-31 0-53-21.5T0 291V88q0-27 12.5-44.5t38-26t53-11.5t67-3m-96 320q13.5 0 23-9.5t9.5-23t-9.5-22.5t-23-9t-22.5 9t-9 22.5t9 23t22.5 9.5M149 195V88H43v107zm117.5 128q13.5 0 23-9.5t9.5-23t-9.5-22.5t-23-9t-22.5 9t-9 22.5t9 23t22.5 9.5M299 195V88H192v107z"/></svg>

How to use the Subway icon

React

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

<Icon icon="zmdi:subway" width="24" />

Vue

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

<template>
  <Icon icon="zmdi:subway" width="24" />
</template>

Svelte

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

<Icon icon="zmdi:subway" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="zmdi:subway"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/zmdi/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. Material Design Iconic Font icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Subway icon in React?

Install @iconify/react and render <Icon icon="zmdi: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/zmdi/subway.svg" alt="Subway icon">, or paste the SVG code inline to style it with CSS.

Browse all Material Design Iconic Font icons →