---
title: "Circular Progress"
description: "A small ring or half gauge that fills as a task moves on, such as an upload. It can show the percent inside, spin for an unknown wait, or fill in steps."
url: https://gelatinui.com/components/circular-progress
markdown_url: https://gelatinui.com/components/circular-progress.md
access: free
install: "npx shadcn@latest add @gelatin-ui/circular-progress"
registry_item: https://gelatinui.com/r/circular-progress.json
version: "2026-11-11"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Circular Progress

> A small ring or half gauge that fills as a task moves on, such as an upload. It can show the percent inside, spin for an unknown wait, or fill in steps.

Page: https://gelatinui.com/components/circular-progress

## When to use it

Best for: A task in a small round shape: an upload in a list, a table cell step, or a tile.

- Use it when a task needs a small round shape: a list row, a table cell, a tile.
- Use `value={null}` while the size of the task is not known.
- Use `variant="half"` for a gauge.
- Use `ink="inverse"` for a ring on a solid `primary` fill, such as a Stop button.
- Use `animated={false}` when each new value must show at once.

## When not to use it

- For a value at rest, such as disk use, use a [Meter](https://gelatinui.com/components/meter.md).
- For a task in a wide row, use a [Progress](https://gelatinui.com/components/progress.md).
- For a wait with no value to show, use a [Spinner](https://gelatinui.com/components/spinner.md).

## Notes for agents

- Put `CircularProgressIndicator` in `CircularProgressTrack`. The track holds the ring box and the background ring.
- Put text inside the ring only at `lg` and `xl`. The hole of a `default` ring is 32px wide.
- `ink="inverse"` changes only the strokes. Color a `CircularProgressValue` yourself on a solid fill.
- The ring keeps its size on phones. The row around it is the touch target.
- `CircularProgressValue` can take a function of the formatted and the raw value ("12 of 19 files").
- `segments` cuts the ring into arcs that fill one by one. A ring shows only the dots that fit.

## Anatomy

```text
CircularProgress
├─ RingFill (0..n)
├─ RingTrackSvg (0..n)
├─ RingIndicatorSvg (0..n)
├─ CircularProgressTrack (0..n)
├─ CircularProgressIndicator (0..n)
├─ CircularProgressValue (0..n)
└─ CircularProgressLabel (0..n)
```

## API reference

### CircularProgress

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `size` | `"default" \| "lg" \| "sm" \| "xl" \| "xs"` | "default" |  |
| `variant` | `"full" \| "half"` | "full" |  |
| `className` | `string` |  |  |
| `ink` | `"default" \| "destructive" \| "foreground" \| "inverse" \| "muted" \| "success" \| "warning"` | "default" | `default`: the `primary` fill on a `foreground` 10% track. `inverse`: for a ring on a solid `primary` fill (a Stop button): `primary-foreground` on `primary-foreground` at 25%. It changes the strokes only: a `CircularProgressValue` keeps its `foreground` text, so color it yourself when you show a value on the fill. `muted`: a `muted-foreground` fill, for a ring that only counts (a countdown). `warning`: a `warning` fill, for a time that is nearly up. The fill color fades on the `fade` clock between `muted` and `warning`. `foreground`, `success`, `destructive`: a fill that tells the status of a to-do list. |
| `animated` | `boolean` | true | Move the arc and count the value text to each new value (`useShareSpring`), so a value that ticks reads as one motion. `false` jumps to each value. Default `true`. |
| `glow` | `boolean` |  | A soft halo in the fill color (`glow`, `@gelatin-ui/glow`). Default: `false`. |
| `segments` | `number` |  | Cut the ring into this many arcs that fill one by one. Unset: one solid ring. |

Also takes every prop of Base UI `Progress.Root`: https://base-ui.com/react/components/progress

### CircularProgressTrack

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

### CircularProgressIndicator

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

### CircularProgressValue

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

Also takes every prop of Base UI `Progress.Value`: https://base-ui.com/react/components/progress

### CircularProgressLabel

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` |  |  |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| RingFill | `circular-progress-fill` |  |  |  |
| RingTrackSvg | `circular-progress-track-ring` |  |  |  |
| RingIndicatorSvg | `circular-progress-fill-ring` |  |  |  |
| CircularProgress | `circular-progress` |  |  |  |
| CircularProgressTrack | `circular-progress-track` |  |  |  |
| CircularProgressIndicator | `circular-progress-indicator` |  |  |  |
| CircularProgressValue | `circular-progress-value` | `data-complete` |  |  |
| CircularProgressLabel | `circular-progress-label` |  |  |  |

## Usage

Put `CircularProgressIndicator` in `CircularProgressTrack`. Put text inside the ring only at `lg` and `xl`.

```tsx title="profile-ring.tsx"
import {
  CircularProgress,
  CircularProgressIndicator,
  CircularProgressLabel,
  CircularProgressTrack,
  CircularProgressValue,
} from "@/components/ui/circular-progress";

export function ProfileRing() {
  return (
    <CircularProgress value={64} size="lg" locale="en-US">
      <CircularProgressTrack>
        <CircularProgressIndicator />
        <CircularProgressValue />
      </CircularProgressTrack>
      <CircularProgressLabel>Profile complete</CircularProgressLabel>
    </CircularProgress>
  );
}
```

## 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/circular-progress
```

It adds 16 registry items: 12 files, 3573 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

- [Progress](https://gelatinui.com/components/progress.md)
- [Meter](https://gelatinui.com/components/meter.md)
- [Spinner](https://gelatinui.com/components/spinner.md)

## Accessibility

It is a Base UI Progress with the `progressbar` role. `CircularProgressLabel` names it; with no label, pass `aria-label`.

Pass `getAriaValueText` to translate the indeterminate text.

The ring keeps its size on phones. The row around it is the touch target.

## Motion

| Part | Motion |
| --- | --- |
| Value | chartUpdate · the arc springs to each new value and the value text counts with it; `animated={false}` jumps |
| Indeterminate | animate-spin · a 25% arc turns once a second |
