Metro icon
openmoji:metro
The Metro icon (openmoji:metro) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Travel Places
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><circle cx="36" cy="36" r="29" fill="#3f3f3f"/><path fill="#d0cfce" d="M24.83 14h22.34a7.23 7.23 0 0 1 7.23 7.23V47.5a1.5 1.5 0 0 1-1.5 1.5H19.1a1.5 1.5 0 0 1-1.5-1.5V21.23A7.23 7.23 0 0 1 24.83 14"/><path fill="#fcea2b" d="M42 39h9v5h-9zm-22 0h9v5h-9z"/><path fill="none" stroke="#ea5a47" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M51 35H21"/><path fill="none" stroke="#fff" stroke-linecap="round" stroke-miterlimit="10" stroke-width="4" d="M17 60.811L21 54m34 6.811L51 54"/><path fill="#3f3f3f" d="M20 22h31v10H20z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M24.83 14h22.34a7.23 7.23 0 0 1 7.23 7.23V47.5a1.5 1.5 0 0 1-1.5 1.5H19.1a1.5 1.5 0 0 1-1.5-1.5V21.23A7.23 7.23 0 0 1 24.83 14"/><path d="M51 23v8.8H21M21 44h8v-4m14 4h8v-4"/></g></svg>How to use the Metro icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:metro" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:metro" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:metro" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--metro]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:metro"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:metro"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/metro.svg" alt="Metro icon" width="24" height="24">Metro icon in other icon sets
Metro icon FAQ
Is the Metro icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Metro icon in React?
Install @iconify/react and render <Icon icon="openmoji:metro" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Metro icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/metro.svg" alt="Metro icon">, or paste the SVG code inline to style it with CSS.