ICONYZ
English
Subway Outline icon from Material Symbols

Subway Outline icon

material-symbols:subway-outline

The Subway Outline icon (material-symbols:subway-outline) is a free SVG icon from the Material Symbols set by Google. It is drawn on a 24 × 24 grid. Material Symbols icons are released under the Apache 2.0 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 Symbols
Author
Google
License
Apache-2.0
Size
24 × 24
Category
Transit
Tags
automobile, bike, car, cars, maps, rail, scooter, subway, train, transportation, travel, tunnel, underground, vehicle, subwayoutline, subway outline sharp
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 22V8.85q0-2.125 1.1-3.687T6.2 2.8q1.35-.525 2.875-.662T12 2t2.925.138T17.8 2.8q2 .8 3.1 2.363T22 8.85V22zm7.1-2h5.75l-1.5-1.5H10.6zm-1.6-7h9V9h-9zm8.713 3.213q.287-.288.287-.713t-.288-.712t-.712-.288t-.712.288t-.288.712t.288.713t.712.287t.713-.288m-7 0q.287-.287.287-.712t-.288-.712T8.5 14.5t-.712.288t-.288.712t.288.713t.712.287t.713-.288M4 20h3.5v-.5l1.05-1.05q-1.1-.15-1.825-.987T6 15.5V9q0-1.95 1.863-2.475T12 6q2.5 0 4.25.525T18 9v6.5q0 1.125-.725 1.963t-1.825.987l1.05 1.05v.5H20V8.85q0-1.5-.737-2.562T17.05 4.65q-1.1-.425-2.437-.537T12 4t-2.613.113t-2.437.537q-1.475.575-2.212 1.638T4 8.85zm0 0h16z"/></svg>

How to use the Subway Outline icon

React

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

<Icon icon="material-symbols:subway-outline" width="24" />

Vue

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

<template>
  <Icon icon="material-symbols:subway-outline" width="24" />
</template>

Svelte

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

<Icon icon="material-symbols:subway-outline" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="material-symbols:subway-outline"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/material-symbols/subway-outline.svg" alt="Subway Outline icon" width="24" height="24">

Related icons in Material Symbols

Subway Outline icon in other icon sets

Subway Outline icon FAQ

Is the Subway Outline icon free for commercial use?

Yes. Material Symbols icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Subway Outline icon in React?

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

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

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

Browse all Material Symbols icons →