Tesserae

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).

Constructors

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

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

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 Tesserae. All rights reserved.