---
title: "Animated Check Icon"
description: "A check for a task or a step that gets done. A ring draws itself, then the check draws in and pops."
url: https://gelatinui.com/components/animated-check-icon
markdown_url: https://gelatinui.com/components/animated-check-icon.md
access: free
install: "npx shadcn@latest add @gelatin-ui/animated-check-icon"
registry_item: https://gelatinui.com/r/animated-check-icon.json
version: "2026-11-13"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Animated Check Icon

> A check for a task or a step that gets done. A ring draws itself, then the check draws in and pops.

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

## When to use it

Best for: A ring that draws itself, then a check, when a task or a step is done.

- Use it for the done state of a task, a step, or a job.
- Set `checked` from the done state. That prop alone drives the motion.

## When not to use it

- For a form field that the user turns on and off, use a [Checkbox](https://gelatinui.com/components/checkbox.md).
- For a Save toggle, use the [Animated Bookmark Icon](https://gelatinui.com/components/animated-bookmark-icon.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.
- `checked` is the only prop of its own. The default is `false`.
- It has no hover play. Only a change of `checked` moves it.
- The icon is `aria-hidden`. The control or the text next to it owns the state.

## Anatomy

```text
AnimatedCheckIcon
```

## API reference

### AnimatedCheckIcon

| 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. |
| `checked` | `boolean` | false | Done: the ring draws, then the check, then a pop and a pulse. Not done: both fade out. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AnimatedCheckIcon | `animated-check-icon` |  |  |  |

## Usage

Set `checked` from the done state of the task.

```tsx title="task-status.tsx"
import { AnimatedCheckIcon } from "@/components/icons/animated-check-icon";

export function TaskStatus({ done }: { done: boolean }) {
  return (
    <span className="flex items-center gap-2 text-sm">
      <AnimatedCheckIcon checked={done} className="size-5" />
      {done ? "Done" : "To do"}
    </span>
  );
}
```

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

It adds 10 registry items: 9 files, 2134 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

- [Checkbox](https://gelatinui.com/components/checkbox.md)
- [Progress](https://gelatinui.com/components/progress.md)
- [Animated Bookmark Icon](https://gelatinui.com/components/animated-bookmark-icon.md)

## Accessibility

The icon is hidden from assistive tools. The text or the control next to it owns the state.

## Motion

| Part | Motion |
| --- | --- |
| Done | iconDraw · the ring draws, then the check, then a pop and a pulse |
| Undo | fade-exit · the ring and the check fade out |
