The Heroicons rectangle stack icon depicts a series of rectangles stacked vertically, commonly used to represent a collection of items, layers, or a list.
Common uses
- Displaying a list of documents or files
- Representing layers in a design tool
- Indicating a collection of data entries
Use it in React
Install
npm i @heroicons/reactImport & render
import { RectangleStackIcon } from '@heroicons/react/24/outline';
<RectangleStackIcon className="size-6" />Styles
Heroicons ships this icon in 4 styles — each its own import:
24/outline
<RectangleStackIcon className="size-6" />24/solid
<RectangleStackIcon className="size-6" />20/solid
<RectangleStackIcon className="size-6" />16/solid
<RectangleStackIcon className="size-6" />Details
- Library
- Heroicons (324 icons)
- License
- MIT
- viewBox
0 0 24 24- Keywords
- rectanglestacklayerslistdocuments
FAQ
- What does the rectangle stack icon represent?
- It visually signifies a group or stack of rectangular items, often used for lists, collections, or layers.
- How do I use the rectangle stack icon in React?
- Import it from Heroicons and use it as a component: `import { RectangleStackIcon } from '@heroicons/react/24/outline'; <RectangleStackIcon className="h-6 w-6" />`.
- What is the license for the Heroicons rectangle stack icon?
- The Heroicons library, including the rectangle stack icon, is available under the MIT license.
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 →