John KuehJohn Kueh

square icon

Phosphor · square · MIT

Download SVG

The Phosphor square icon depicts a basic four-sided polygon and is commonly used to represent geometric shapes, containers, or selection states in user interfaces.

Common uses

  • Representing a square shape in a drawing tool.
  • Indicating a selected or active state in a grid or list.
  • As a placeholder for content that will occupy a square area.

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { Square } from '@phosphor-icons/react';

<Square size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<Square size={24} />
thin
<Square size={24} weight="thin" />
light
<Square size={24} weight="light" />
bold
<Square size={24} weight="bold" />
fill
<Square size={24} weight="fill" />
duotone
<Square size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
design
Keywords
4shapespolygonsboxdesignsquareshapepolygonfour sides

FAQ

What is the Phosphor square icon used for?
It represents a basic square shape and is useful for UI elements like containers, selection indicators, or geometric representations.
How do I use the square icon in React?
You can import and use it like this: import { Square } from '@phosphor-icons/react'; <Square size={24} />.
What is the license for the Phosphor square icon?
The Phosphor icon library, including the square icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor and 4 more libraries by description →