ProgressRing

Description

A circular progress indicator

ProgressRing displays progress in a circular donut style. Use it alongside a metric value, in a dashboard card header, or to track quota/usage.

It supports determinate values (0–100), an indeterminate spinning state, and an optional text label in the centre.

API reference

class

ProgressRing

public sealed class ProgressRing : ComponentBase<ProgressRing, HTMLElement>

A circular progress indicator (ring/donut style).

Namespace
Tesserae
Inheritance
ComponentBase<ProgressRing, HTMLElement> → ProgressRing

Constructors

NameDescription
ProgressRingInitializes a new ProgressRing.
Constructor
ProgressRing
public ProgressRing(int size = DefaultSize, int thickness = DefaultThickness)

Initializes a new ProgressRing.

Parameters

size
Diameter in pixels.
thickness
Ring thickness in pixels.

Properties

NameDescription
ValueGets or sets the current progress value.
MaxGets or sets the maximum value (default 100).
Property
ProgressRing.Value
public double Value { get ; set ; }

Gets or sets the current progress value.

Property
ProgressRing.Max
public double Max { get ; set ; }

Gets or sets the maximum value (default 100).

Methods

NameDescription
ProgressSets progress as percentage 0–100.
IndeterminateShows an indeterminate spinning ring.
LabelSets the label text shown in the centre of the ring.
NoLabelHides the centre label.
RenderRenders the component's root HTML element.
Method
ProgressRing.Progress
public ProgressRing Progress(double current, double total)

Sets progress as percentage 0–100.

Method
ProgressRing.Indeterminate
public ProgressRing Indeterminate(bool value = true)

Shows an indeterminate spinning ring.

Method
ProgressRing.Label
public ProgressRing Label(string text)

Sets the label text shown in the centre of the ring.

Method
ProgressRing.NoLabel
public ProgressRing NoLabel()

Hides the centre label.

Method
ProgressRing.Render
public override HTMLElement Render()

Renders the component's root HTML element.

Samples

Determinate Rings

Sizes

Indeterminate (Loading)

Animated Fill

See also

© 2026 Curiosity. All rights reserved.