---
title: "Animated Status Icon"
description: "One status mark: a check, an i, an exclamation mark, or a cross. When the status changes, the new mark draws in and pops."
url: https://gelatinui.com/components/animated-status-icon
markdown_url: https://gelatinui.com/components/animated-status-icon.md
access: pro
install: "npx shadcn@latest add @gelatin-ui-pro/animated-status-icon"
version: "2026-11-13"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Animated Status Icon

> One status mark: a check, an i, an exclamation mark, or a cross. When the status changes, the new mark draws in and pops.

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

## When to use it

Best for: A small status mark next to a field, a job, or a check that changes.

- Set `status` from the state, and set the color with a class (`text-success-soft-foreground`).
- Write the status in words next to it.

## When not to use it

- For a status with a label and a tinted surface, use a [Badge](https://gelatinui.com/components/badge.md).

## Notes for agents

- `variant` (`stroke`, `solid`, `duotone`, `twotone`, `bulk`) and `corners` (`round`, `sharp`) pick the style. Use one style for every icon of a product.
- `status` is `none`, `success`, `info`, `warning`, or `destructive`. The default is `none`.
- It takes no color of its own: the host sets it.
- The icon is `aria-hidden`. The text next to it says the status.

## Anatomy

```text
AnimatedStatusIcon
```

## API reference

### AnimatedStatusIcon

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | `"bulk" \| "duotone" \| "solid" \| "stroke" \| "twotone"` |  | `stroke` (default): 1.5 strokes. `solid`: the body filled, inner details cut through. `duotone`: a 40% fill under the stroke. `twotone`: the details at 40%. `bulk`: the body filled at 40% with no outline, the details at full color. |
| `corners` | `"round" \| "sharp"` |  | `round` (default): round caps and joins, soft corners. `sharp`: square caps, miter joins. |
| `status` | `"destructive" \| "info" \| "none" \| "success" \| "warning"` | "none" | The mark: `success` a check, `info` an `i`, `warning` a `!`, `destructive` a cross that wobbles, `none` nothing. Default `none`. Set its color with a class (`text-success-soft-foreground`). |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AnimatedStatusIcon | `animated-status-icon` |  |  |  |

## Usage

Import Animated Status Icon and compose its parts.

```tsx title="animated-status-icon.tsx"
import { AnimatedStatusIcon } from "@/components/pro/icons/animated-status-icon";

export function AnimatedStatusIconDemo() {
  return <AnimatedStatusIcon status="none" className="size-12" />;
}
```

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

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

- [Animated Undo Icon](https://gelatinui.com/components/animated-undo-icon.md)
- [Animated Trash Icon](https://gelatinui.com/components/animated-trash-icon.md)

## Accessibility

The icon is hidden from assistive tools. The control around it owns the name.
