Statuses
Progress Circle
A modern circular progress indicator designed for visually representing task completion, downloads, or loading animations. It offers clear progress visualization.
Basic
Progress bars show how much an operation is done, either exactly or roughly, over time.
Installation
npx shadcn@latest add @intentui/progress-circleManual installation
npm i react-aria-componentsAnatomy
import { ProgressCircle } from "@/components/ui/progress-circle"
<ProgressCircle aria-label="Loading…" value={25} />Indeterminate
You can also make the progress circle indeterminate by setting the isIndeterminate prop.
Custom size
You can customize the size of the progress circle by using className with tailwind classes or style props.
Controlled
You can control the progress circle by using the value prop.
Combine with button
The button includes an isPending prop to indicate a pending state, allowing for seamless integration with the progress circle.
Custom color
The progress circle can be customized with the color prop.