ICONYZ
English
Subway icon from Line Awesome

Subway icon

la:subway

The Subway icon (la:subway) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome 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
Line Awesome
Author
Icons8
License
Apache-2.0
Size
32 × 32
Category
Objects
Tags
subway solid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M10 4C7.25 4 5 6.25 5 9v12a6.01 6.01 0 0 0 3.531 5.469L6 29h2.344l2.031-2.031c.2.02.418.031.625.031h10c.207 0 .426-.012.625-.031L23.656 29H26l-2.531-2.531A6.01 6.01 0 0 0 27 21V9c0-2.75-2.25-5-5-5zm0 2h12c1.32 0 2.438.828 2.844 2H7.156A2.99 2.99 0 0 1 10 6m-3 4h8v6H7zm10 0h8v6h-8zM7 18h18v3c0 2.219-1.781 4-4 4H11c-2.219 0-4-1.781-4-4zm3.5 2a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0-3m11 0a1.5 1.5 0 1 0 0 3a1.5 1.5 0 0 0 0-3"/></svg>

How to use the Subway icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/la/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. Line Awesome icons are released under the Apache 2.0 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="la: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/la/subway.svg" alt="Subway icon">, or paste the SVG code inline to style it with CSS.

Browse all Line Awesome icons →