Progress Ring

Progress rings are used to show the progress of a determinate operation in a circular fashion.

Progress rings are used to show the progress of a determinate operation in a circular fashion.

Use the —size custom property to set the diameter of the progress ring.

Use the label attribute to label the progress bar and tell assistive devices how to announce it.

Use the default slot to show a value.

50%
import '@ods/components/web.progress-ring';

Note: You only need to import a web component once in your code, as it registers itself globally when defined, allowing you to use it anywhere within your application without needing to re-import it each time you want to use the component.

Slots

NameDescription
(default)A label to show inside the ring.

Properties

Please note, both DOM properties and HTML attributes are shown in the table below. Unless otherwise specified, the property and attribute names are identical.

Property/AttributeReflectsTypeDefault
value
number0
label
string''

Parts

NameDescription
baseThe component's base wrapper.
labelThe progress ring label.

Search