John KuehJohn Kueh

squares 2x 2 icon

Heroicons · squares-2x2 · MIT

Download SVG

The Heroicons squares 2x 2 icon depicts a 2x2 grid of squares, commonly used to represent a grid layout, dashboard view, or a selection of multiple items.

Common uses

  • Switching to a grid view
  • Displaying a dashboard overview
  • Selecting multiple options

Use it in React

Install
npm i @heroicons/react
Import & render
import { Squares2x2Icon } from '@heroicons/react/24/outline';

<Squares2x2Icon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<Squares2x2Icon className="size-6" />
24/solid
<Squares2x2Icon className="size-6" />
20/solid
<Squares2x2Icon className="size-6" />
16/solid
<Squares2x2Icon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
squares2x2griddashboardlayoutapps

FAQ

What is the squares 2x2 icon used for?
It's typically used to signify a grid layout, a dashboard, or when selecting multiple items. It visually represents a 2x2 arrangement.
How do I use the squares 2x2 icon in React?
You can import it from Heroicons like this: `import { Squares2x2Icon } from '@heroicons/react/24/outline'`. Then use it as a React component.
What is the license for Heroicons?
Heroicons are provided under the MIT license, allowing for free use in both open-source and commercial projects.

Related icons

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

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

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →