# Icon stack sizes

> Responsive icon stack sizes

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-icon-stack-2).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-icon-stack-2
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-icon-stack-2-light-2d4c58288ab1564f.png
- Registry item: https://reui.io/r/new-york-v4/c-icon-stack-2.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-icon-stack-2.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@reui/icon-stack`

## Files

### `c-icon-stack-2.tsx`

```tsx
import { IconStack } from "@/components/reui/icon-stack"

import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

const sizes = [
  {
    label: "Small",
    className: "h-16 w-14",
    icon: (
      <IconPlaceholder
        lucide="ArchiveIcon"
        tabler="IconArchive"
        hugeicons="Archive01Icon"
        phosphor="ArchiveIcon"
        remixicon="RiArchiveLine"
        className="size-3.5"
      />
    ),
  },
  {
    label: "Default",
    className: "h-20 w-18",
    icon: (
      <IconPlaceholder
        lucide="PackageIcon"
        tabler="IconPackage"
        hugeicons="Package01Icon"
        phosphor="PackageIcon"
        remixicon="RiBox3Line"
        className="size-4"
      />
    ),
  },
  {
    label: "Large",
    className: "h-28 w-24",
    icon: (
      <IconPlaceholder
        lucide="LayersIcon"
        tabler="IconStack2"
        hugeicons="Layers01Icon"
        phosphor="StackIcon"
        remixicon="RiStackLine"
        className="size-6"
      />
    ),
  },
]

export function Pattern() {
  return (
    <div className="flex flex-wrap items-end justify-center gap-8">
      {sizes.map((item) => (
        <div key={item.label} className="flex flex-col items-center gap-2">
          <IconStack aria-hidden="true" className={item.className}>
            {item.icon}
          </IconStack>
          <span className="text-muted-foreground text-sm">{item.label}</span>
        </div>
      ))}
    </div>
  )
}
```
