ICONYZ
English
Subway icon from Font Awesome 4

Subway icon

fa:subway

The Subway icon (fa:subway) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1536 × 1792 grid. Font Awesome 4 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1536 × 1792
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1536" height="1792" viewBox="0 0 1536 1792"><path fill="currentColor" d="M1088 0q185 0 316.5 93.5T1536 320v896q0 130-125.5 222t-305.5 97l213 202q16 15 8 35t-30 20H240q-22 0-30-20t8-35l213-202q-180-5-305.5-97T0 1216V320Q0 187 131.5 93.5T448 0zM288 1312q66 0 113-47t47-113t-47-113t-113-47t-113 47t-47 113t47 113t113 47m416-544V256H160v512zm544 544q66 0 113-47t47-113t-47-113t-113-47t-113 47t-47 113t47 113t113 47m160-544V256H832v512z"/></svg>

How to use the Subway icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/fa/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. Font Awesome 4 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="fa: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/fa/subway.svg" alt="Subway icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →