# Shadcn Sizes

> Icon stack sizes

- Type: example, free and open source (MIT)
- Component: [Icon Stack](https://reui.io/components/icon-stack.md)
- Page: https://reui.io/components/icon-stack/c-icon-stack-2
- Docs (Base UI): https://reui.io/docs/components/base/icon-stack.md
- Docs (Radix UI): https://reui.io/docs/components/radix/icon-stack.md
- MCP: `get_example("c-icon-stack-2")`
- Registry item: https://reui.io/r/styles/base-nova/c-icon-stack-2.json
- Uses: Icon Stack

## Best for

Small, Default and Large stacks side by side with captions, the glyph growing from size-3.5 to size-6

## Install

```bash
npx shadcn@latest add @reui/c-icon-stack-2
```

## About Shadcn Icon Stack

### When to use

- Artwork for first run and no data screens, set in the media slot above the message
- Compact media for list rows, such as a package entry in an outlined row
- Decorative marks with more depth than a flat glyph, tinted by a theme color or topped with a badge

### When not to use

- A flat square surface that keeps one glyph the same size across rows and toolbars: use [Icon Tile](https://reui.io/components/icon-tile.md) (`get_component("icon-tile")`)
- A no data message that needs a title, description and actions laid out together: use [Empty](https://reui.io/components/empty.md) (`get_component("empty")`)
- A ready made first run or zero results page, with copy, art and buttons in place: use the [Empty State blocks](https://reui.io/blocks/application/empty-state.md)

### Agent notes

- A text color class on `IconStack` reaches only the layer outlines and shadow; `icon-stack-content` gives the child `text-muted-foreground`
- Keep `IconStack` near its 72 wide by 81 tall `viewBox` ratio when resizing; the child is placed by percent of the box, not of the drawing
- The child sits in `icon-stack-content`, which is skewed and `pointer-events-none`, so a button or link placed there gets no clicks

Every ReUI item has a twin like this one; the index is https://reui.io/llms.txt. Agents with the ReUI MCP (https://reui.io/docs/mcp) get the same guidance from the getters named above.
