The Tabler rectangle icon visually represents a basic rectangular shape, commonly used in UIs to denote areas, containers, or as a fundamental geometric element.
Common uses
- Background element for cards or content blocks
- Placeholder for image or video content
- Button or link styling
Use it in React
Install
npm i @tabler/icons-reactImport & render
import { IconRectangle } from '@tabler/icons-react';
<IconRectangle size={24} stroke={2} />Styles
Tabler ships this icon in 2 styles — each its own import:
outline
<IconRectangle size={24} stroke={2} />filled
<IconRectangleFilled size={24} stroke={2} />Details
- Library
- Tabler (5,093 icons)
- License
- MIT
- viewBox
0 0 24 24- Category
- Shapes
- Keywords
- shapegeometricmathrectanglegeometryformfigurepatternoutlineshapesboxsquare outlineframerectangular shape
FAQ
- What is the rectangle icon for?
- It's a simple geometric shape used to represent rectangular areas, containers, or as a basic building block in visual designs.
- How do I use the rectangle icon in React?
- You can import and use it like this: import { IconRectangle } from '@tabler/icons-react'; <IconRectangle />.
- What is the license for the Tabler rectangle icon?
- The Tabler icons, including the rectangle icon, are distributed under the MIT license.
Related icons
The same idea in other libraries, and near matches in Tabler.