ICONYZ
English
Shanghai Metro icon from theSVG

Shanghai Metro icon

thesvg:shanghai-metro

The Shanghai Metro icon (thesvg:shanghai-metro) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG icons are released under the MIT 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
theSVG
Author
thesvg.org
License
MIT
Size
24 × 24
Tags
shanghaimetro
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="M20.383 11.664h-1.716l-3.432-4.487l-3.073 3.606L9.31 7.177l-3.513 4.487H3.63c.185-4.464 3.872-8.047 8.383-8.047c3.953 0 7.27 2.748 8.15 6.424h3.687C22.91 4.359 17.96.01 12 .01c-6.632 0-12 5.369-12 12c0 1.102.15 2.169.429 3.177h6.516l2.412-2.55l2.805 3.478l2.945-3.502l1.902 2.61h2.69c-1.287 2.967-4.256 5.495-7.699 5.495c-2.84 0-5.357-1.681-6.875-3.942H.997C2.852 21.02 7.072 23.988 12 23.988c6.632 0 12-5.368 12-12c0-.116 0-.231-.012-.347z"/></svg>

How to use the Shanghai Metro icon

React

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

<Icon icon="thesvg:shanghai-metro" width="24" />

Vue

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

<template>
  <Icon icon="thesvg:shanghai-metro" width="24" />
</template>

Svelte

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

<Icon icon="thesvg:shanghai-metro" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--shanghai-metro]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:shanghai-metro"></div>

Web component

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

<iconify-icon icon="thesvg:shanghai-metro"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/shanghai-metro.svg" alt="Shanghai Metro icon" width="24" height="24">

Shanghai Metro icon in other icon sets

Shanghai Metro icon FAQ

Is the Shanghai Metro icon free for commercial use?

Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Shanghai Metro icon in React?

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

How do I add the Shanghai Metro icon to a web page?

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

Browse all theSVG icons →