---
title: "Status Icon"
description: "A small icon for the status of a task or an issue, from Backlog to Done. In progress shows a pie of the work done, and a change of status animates."
url: https://gelatinui.com/components/status-icon
markdown_url: https://gelatinui.com/components/status-icon.md
access: free
install: "npx shadcn@latest add @gelatin-ui/status-icon"
registry_item: https://gelatinui.com/r/status-icon.json
version: "2026-11-09"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Status Icon

> A small icon for the status of a task or an issue, from Backlog to Done. In progress shows a pie of the work done, and a change of status animates.

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

## When to use it

Best for: A small workflow status glyph next to an issue or a task.

- Pass `status`: backlog, todo, in-progress, in-review, done, canceled, or duplicate.
- Use `progress` for the pie of a started status (0 to 1).
- Use `aria-hidden` when a word next to it already says the status.

## When not to use it

- For a status as a word, use a [Badge](https://gelatinui.com/components/badge.md).
- For a small color mark, use a [Dot](https://gelatinui.com/components/dot.md).

## Notes for agents

- The shape carries the status, not only the color.
- The default name is the English status name ("In Progress"). Pass `aria-label` for your language.
- A change of `status` or `progress` plays in stages: ring, pie, disc, check.
- Sizes: `xs` 12px, `sm` 14px, `default` 16px, `lg` 20px.

## Anatomy

```text
StatusIcon
```

## API reference

### StatusIcon

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `aria-label` | `string` |  | Defines a string value that labels the current element. The accessible name. Default: the English status name ("In Progress"). Pass `aria-hidden` when a visible word next to the icon already says the status. An empty string counts as `aria-hidden`, so the icon never has an empty name. |
| `size` | `"default" \| "lg" \| "sm" \| "xs"` |  |  |
| `status` | `"backlog" \| "canceled" \| "done" \| "duplicate" \| "in-progress" \| "in-review" \| "todo"` | "todo" |  |
| `progress` | `number` |  | How much of a started status is done, 0 to 1. It sets the pie of `in-progress` and `in-review` (default 0.5 and 0.75), for a custom started status ("In QA" at 0.9). Other statuses ignore it. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| StatusIcon | `status-icon` |  |  | `motion-timing` |

## Usage

Pass the status.

```tsx title="issue-status.tsx"
import { StatusIcon } from "@/components/ui/status-icon";

export function IssueStatus() {
  return <StatusIcon status="in-progress" />;
}
```

## 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/status-icon
```

It adds 7 registry items: 7 files, 2160 lines, and the npm packages `@base-ui/react`, `motion`, `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

- [Badge](https://gelatinui.com/components/badge.md)
- [Dot](https://gelatinui.com/components/dot.md)
- [Progress](https://gelatinui.com/components/progress.md)

## Accessibility

It is an `img` with the status name, or hidden with `aria-hidden`.

An empty `aria-label` hides it, so the icon never has an empty name.

## Motion

| Part | Motion |
| --- | --- |
| Pie | panel · 260ms · ease-panel (0.2, 0.4, 0.2, 1) |
| Disc | statusPop · spring, stiffness 500, damping 30 |
| Check | panel · 260ms · ease-panel (0.2, 0.4, 0.2, 1) |
| Color and ring | fade · 150ms · ease-out (0, 0, 0.2, 1) |
