1. Icon Monks
  2. Design icons
  3. Rectangle

Rectangle icon

The rectangle icon is a free design icon from Icon Monks, drawn as one clean path on a 256-unit grid in six weights. It is free for personal and commercial use under the MIT license.

Rectangle icon, thin weight
Thin
SVG
Rectangle icon, light weight
Light
SVG
Rectangle icon, regular weight
Regular
SVG
Rectangle icon, bold weight
Bold
SVG
Rectangle icon, fill weight
Fill
SVG
Rectangle icon, duotone weight
Duotone
SVG

Open in the icon browserCustomize size and color, then download PNG, WebP or PDF.

About the rectangle icon

Use it to stand for shape, geometry and box. The regular weight is a single path made of 2 shapes, and the duotone weight adds a 20% tint behind the outline. It comes with 1 variant for states and actions: rectangle vertical.

Pairs well with the cone, cylinder and diamond minus icons, which share the “shape” theme. Use the same weight for all of them so they read as one set.

When to use the rectangle icon

It belongs to the design set, made for design tools, editors and creative apps. Pair it with the related icons below so a screen stays in one visual style.

Use the rectangle icon in your code

React

import { Rectangle } from '@icon-monks/react';

<Rectangle size={24} />

Vue

<script setup>
import { Rectangle } from '@icon-monks/vue';
</script>

<Rectangle :size="24" />

Web component

<icon-monks name="rectangle" size="24"></icon-monks>

Icon font

<i class="im im-rectangle"></i>

Flutter

Icon(IconMonks.rectangle)

SwiftUI

Image(iconMonks: .rectangle)

Compose

import com.designmonks.icons.IconMonks
import com.designmonks.icons.regular.Rectangle

Icon(IconMonks.Regular.Rectangle, contentDescription = null)

Need setup steps? See the getting started guide or the page for React, Flutter, SwiftUI or Jetpack Compose.

Tags

Related design icons

See all 346 design icons

Similar icons in other categories

Questions about the rectangle icon

Is the rectangle icon free for commercial use?

Yes. The rectangle icon is released under the MIT license, so you can use it in personal, client and commercial projects without paying or adding credit in your interface.

How do I change the color and size of the rectangle icon?

The icon draws in currentColor, so it takes the text color around it. In React, Vue and the web component, set the size and color props; in the icon browser, pick a color and size before you download a PNG, WebP, SVG or PDF.

Are there variants of the rectangle icon?

Yes. The rectangle icon has 1 variant, including rectangle vertical. Each one keeps the same base shape and comes in all six weights.

Last updated with version 0.4.3. Release notes