Controls

Radial Progress

Effect
Preview
Reduced motion

Simulates prefers-reduced-motion for the demo. Off follows your system setting.

Keyboard stepping

Steps focus through the demo with ] and [. Tab, arrows, and Escape stay native so the component behaves as shipped.

Radial Progress

Radial Progress

A ring that fills toward a goal, with the value in its center.

Installation

npx shadcn@latest add ikislay/pixel-ui/radial-progress

How to use

import { RadialProgress } from "@/components/ui/radial-progress"
export function Demo() {
return <RadialProgress label="Storage used" value={72} caption="of 50 GB" />
}

Source Code

// Loading…

Props

Options you can pass to customize this component.

Prop
Type
Description
value*
number

The current value. It is clamped between 0 and max.

max
number

The value that fills the ring.

label*
string

Names the meter for screen readers.

caption
string

A short line under the value.

format
(value: number) => string

Formats the center value. Without it the ring shows a percentage.

color
string

Any CSS color for the filled part of the ring.

thickness
number

Width of the ring, on a 100 unit wide meter.

className
string

Merged onto the root element.