Circular Progress
Display circular progress in a compact space.
Usage guide
#Show one progress value concisely in a card or summary. Progress Bar is easier to read when comparing many values in a long list.
- Progress
percentranges from 0 to 100. Read the current value withgetValue().- Size and status
- Set the size with
size, status withstatus, and hide the number withhideText. - When completion time is unknown
- Use
indeterminateto indicate a waiting state.
Examples
#Feature examples
#Choose a feature from 10 topics. Explore property settings, method calls, event results, and slot layouts through live examples and code.
No matching features.
API reference
#Hover over a name or focus it with the keyboard to see the code. On touch screens, tap the name.
<sy-progress-circular>
Properties
| Attribute / Property | Type | Default | Description |
|---|---|---|---|
number | 0 | Completed percentage of the total task, from 0 to 100. | |
string | '' | JSON string containing cumulative end percentages and statuses. Example: [{"percent":35,"status":"complete"},{"percent":100}]. | |
'default' | 'error' | 'complete' | 'default' | Progress (default), error (error), or complete (complete) state. | |
boolean | false | Hide the progress percentage in the center. | |
'small' | 'medium' | 'large' | 'medium' | Component size. | |
string | '' | Progress tooltip title. | |
boolean | false | Indicate ongoing work without showing a completion percentage. |
Events
| Event | Detail | Description |
|---|---|---|
CustomEvent<{ percent: number }> | Fires whenever `percent` changes. `event.detail.percent` is the new value. |
Methods
| Method | Returns | Description |
|---|---|---|
Promise<number> | Return the current value or selected range. |
Slots
| Slot | Description |
|---|---|
| Content displayed in the tooltip area. |