docs/components/circular-progress
Sections
Components
Utilities
Forms
Hooks
Shows task progress with a circular indicator.
PreviewCode
CLIManual
pnpmbunnpmyarn
pnpm dlx shadcn@latest add @shark/circular-progress
import { CircularProgress } from "@/components/ui/circular-progress";
<CircularProgress value={66} />
PreviewCode
PreviewCode
66%
PreviewCode
Establishing connection...
Use the size prop to change the circular progress indicator size.
PreviewCode
Use the thickness prop to control the ring stroke width.
PreviewCode
Root element of the circular progress indicator.
| Prop | Type | Default |
|---|---|---|
value | `number | null` |
defaultValue | number | - |
onValueChange | (details: ValueChangeDetails) => void | - |
indeterminate | boolean | false |
size | number | 32 |
thickness | number | 4 |
className | string | - |
Displays the current progress value text.
| Prop | Type | Default |
|---|---|---|
className | string | - |
For a complete list of props, see the Ark UI documentation.
[
Previous page
Checkbox ](/docs/components/checkbox)[
Next page
Circular Slider ](/docs/components/circular-slider)
On This Page
InstallationUsageControlledExamplesWith valueIndeterminateCustom SizeCustom ThicknessAPI ReferenceCircularProgressCircularProgressValue