---
title: "Icon Tile"
description: "Puts an icon or a step number in a small colored box, for a feature list, a settings row, an empty state, or a list of steps."
url: https://gelatinui.com/components/icon-tile
markdown_url: https://gelatinui.com/components/icon-tile.md
access: free
install: "npx shadcn@latest add @gelatin-ui/icon-tile"
registry_item: https://gelatinui.com/r/icon-tile.json
version: "2026-11-09"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Icon Tile

> Puts an icon or a step number in a small colored box, for a feature list, a settings row, an empty state, or a list of steps.

Page: https://gelatinui.com/components/icon-tile

## When to use it

Best for: A glyph in a sized box: a feature, a settings row, an empty state, or a step.

- Use it with one Phosphor icon, or one or two characters.
- Use `tone` for a meaning such as success.

## When not to use it

- For a picture of a person, use an image.
- For a status word, use a [Badge](https://gelatinui.com/components/badge.md).

## Notes for agents

- It is a `span` with no focus stop, and it has no hooks, so it renders on the server.
- The icon is half the tile by default. An icon with its own `size-*` class keeps it.
- To make it a link, wrap it in one.

## Anatomy

```text
IconTile
```

## API reference

### IconTile

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `size` | `"default" \| "lg" \| "sm" \| "xl" \| "xs"` |  |  |
| `tone` | `"destructive" \| "info" \| "neutral" \| "success" \| "warning"` |  |  |
| `variant` | `"outline" \| "soft" \| "solid"` |  |  |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| IconTile | `icon-tile` |  |  |  |

## Usage

Put one icon in it.

```tsx title="feature-mark.tsx"
import { RocketIcon } from "@phosphor-icons/react/ssr";

import { IconTile } from "@/components/ui/icon-tile";

export function FeatureMark() {
  return (
    <IconTile tone="success">
      <RocketIcon />
    </IconTile>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/icon-tile
```

It adds 5 registry items: 4 files, 382 lines, and the npm packages `tailwind-merge`, `tailwind-variants`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Empty](https://gelatinui.com/components/empty.md)
- [Item](https://gelatinui.com/components/item.md)
- [Avatar](https://gelatinui.com/components/avatar.md)
- [Badge](https://gelatinui.com/components/badge.md)

## Accessibility

It is hidden from screen readers by default, because the text next to it says the meaning.

A tile alone takes an `aria-label`, which makes it `role="img"`.
