ICONYZ
English
Rectangular icon from Subway Icon Set

Rectangular icon

subway:rectangular

The Rectangular icon (subway:rectangular) is a free SVG icon from the Subway Icon Set set by Mariusz Ostrowski. It is drawn on a 512 × 512 grid. Subway Icon Set icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Subway Icon Set
Author
Mariusz Ostrowski
License
CC-BY-4.0
Size
512 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M139.6 46.5h93.1V0h-93.1zM46.5 418.9H0V512h93.1v-46.5H46.5zm93.1 93.1h93.1v-46.5h-93.1zM46.5 279.3H0v93.1h46.5zm0-139.7H0v93.1h46.5zM0 93.1h46.5V46.5H93V0H0zm465.5 139.6H512v-93.1h-46.5zM279.3 512h93.1v-46.5h-93.1zM418.9 0v46.5h46.5V93H512V0zm46.6 372.4H512v-93.1h-46.5zm0 93.1H419V512h93v-93.1h-46.5zm-186.2-419h93.1V0h-93.1z"/></svg>

How to use the Rectangular icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/subway/rectangular.svg" alt="Rectangular icon" width="24" height="24">

Rectangular icon in other icon sets

Rectangular icon FAQ

Is the Rectangular icon free for commercial use?

Yes. Subway Icon Set icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Rectangular icon in React?

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

How do I add the Rectangular icon to a web page?

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

Browse all Subway Icon Set icons →