Display
Progress <pm-progress>
Progress bar or ring (variant="circular"); determinate when value is set, indeterminate otherwise.
Variants
Set with the variant attribute.
variant="linear"variant="circular"Sizes
Set with the size attribute; controls keep touch-sized targets on phones.
size="sm"size="md"size="lg"Tones
Set tone on the element, or data-tone on any ancestor to tone a whole area.
tone="accent"tone="secondary"tone="neutral"tone="success"tone="warning"tone="danger"tone="info"Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
value | number | — | Current value. |
max | number | 100 | Highest allowed value. |
label | string | — | Visible label and accessible name. |
size | 'sm' | 'md' | 'lg' | — | Size: sm, md or lg (md when not set). |
variant | 'linear' | 'circular' | — | linear (default) or circular. |
hide-labelprop: hideLabel | boolean | false | Keep the label as accessible name only. |
show-valueprop: showValue | boolean | false | Show the percentage next to the label. |
Also accepts the contextual attributes tone, surface, radius, density, motion, elevation. They are inherited from ancestors' data-* attributes.
Used in templates
Overview dashboardTraffic analyticsProject boardUser profileShopping cartLanding pageArticleFeedback survey