Skip to content
Nana UI

Feedback & Status

Progress Ring

A circular progress indicator — determinate or indeterminate, with an optional centre label, sizes and semantic colours.

View .md Download
npm install @nana-tec/ui-components
import "@nana-tec/ui-components/progress-ring";
<nana-progress-ring value="60"></nana-progress-ring>

Properties

PropertyAttributeTypeDefaultDescription
colorcolorProgressColor'primary'Semantic colour
indeterminateindeterminatebooleanfalseUnknown duration — animates continuously
labellabelstring | undefined—Accessible label
showValueshow-valuebooleanfalseShow the percentage in the centre
sizesizeProgressSize'md'Ring size
valuevaluenumber0Progress value, 0–100

Slots

SlotDescription
(default)Centre label content (overrides show-value)

CSS parts

PartDescription
::part(ring)The SVG wrapper
::part(indicator)The progress arc

CSS custom properties

PropertyDescription
--nana-progress-colorArc colour (overrides the color attribute)
SlotDescription
(default)Centre label content (overrides show-value)
VariableDescription
--nana-progress-colorArc colour (overrides the color attribute)
PartDescription
ringThe SVG wrapper
indicatorThe progress arc
Explore Progress Ring interactively Every state, prop, and edge case — with live controls — in Storybook.
View in Storybook