Skip to content

Square

The square icon represents a basic geometric shape, commonly used in design and layout.

Exports at 24 × 24 px

Square icon from Unicons
Get Pro

Code

Square in your framework

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

export const SquareIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <path fill="currentColor" d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1m-1 18H4V4h16Z"/>
  </svg>
);

Unicons

Icons that share its tags, in the same style.

  • Square Shape icon from Unicons
  • Square Full icon from Unicons
  • Step Backward icon from Unicons
  • Step Backward Alt icon from Unicons
  • Step Backward Circle icon from Unicons
  • Align icon from Unicons
  • Align Alt icon from Unicons
  • Align Center icon from Unicons
  • Align Center Alt icon from Unicons
  • Align Center H icon from Unicons
  • Align Center Justify icon from Unicons
  • Align Center V icon from Unicons
  • Align Justify icon from Unicons
  • Align Left icon from Unicons
  • Align Left Justify icon from Unicons
  • Left icon from Unicons
  • Squint icon from Unicons
  • Star icon from Unicons
  • Star Half Alt icon from Unicons
  • Statistics icon from Unicons
  • Vertical Align Bottom icon from Unicons
  • Vertical Align Center icon from Unicons
  • Vertical Align Top icon from Unicons
  • Border Vertical icon from Unicons

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

Get Pro

Pricing

Unicons MCP, with Pro

Ask for Square or any of 1,216 Unicons 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 Square 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 Square from a prompt

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

Get Pro