Skip to content

Rectangle

The rectangle icon represents a basic geometric shape, a rectangle or a box.

Exports at 24 × 24 px

Rectangle icon from IconPark Outline
Get Pro

Code

Rectangle in your framework

In any framework. Customize it above, and the code follows.

export const RectangleIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 48 48" fill="none" stroke="currentColor" {...props}>
    <path fill="none" stroke="currentColor" strokeWidth="4" d="M38 4H10a2 2 0 0 0-2 2v36a2 2 0 0 0 2 2h28a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Z"/>
  </svg>
);

IconPark Outline

Icons that share its tags, in the same style.

  • Square icon from IconPark Outline
  • Center Alignment icon from IconPark Outline
  • Distribute Horizontally icon from IconPark Outline
  • Distribute Horizontal Spacing icon from IconPark Outline
  • Distribute Vertically icon from IconPark Outline
  • Distribute Vertical Spacing icon from IconPark Outline
  • Dividing Line icon from IconPark Outline
  • Dividing Line One icon from IconPark Outline
  • Float icon from IconPark Outline
  • Margin icon from IconPark Outline
  • Margin One icon from IconPark Outline
  • Symmetry icon from IconPark Outline
  • View Grid Card icon from IconPark Outline
  • View Grid Detail icon from IconPark Outline
  • View Grid List icon from IconPark Outline
  • View List icon from IconPark Outline
  • Alignment Bottom Right icon from IconPark Outline
  • Alignment Horizontal Bottom icon from IconPark Outline
  • Alignment Horizontal Center icon from IconPark Outline
  • Alignment Horizontal Top icon from IconPark Outline
  • Alignment Left Bottom icon from IconPark Outline
  • Alignment Left Center icon from IconPark Outline
  • Alignment Left Top icon from IconPark Outline
  • Alignment Right Bottom icon from IconPark Outline

Skip the copy and paste. With Pro, your AI agent finds and installs any IconPark Outline icon from a prompt.

Get Pro

Pricing

IconPark Outline MCP, with Pro

Ask for Rectangle or any of 2,658 IconPark Outline icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the Rectangle icon means and where it's used, then how to install, style, label and license it.

4.9 out of 5 from 150+ developers

Install Rectangle from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro