Fine-tune light, shadows, borders, neumorphic
Light and shadows
Borders
Neumorphic
Display

Progress <pm-progress>

Progress bar or ring (variant="circular"); determinate when value is set, indeterminate otherwise.

Full screen

Props

<script type="module"> import '@prismora/css'; import '@prismora/elements/progress'; </script> <pm-progress label="Uploading" value="64" max="100"></pm-progress>

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

AttributeTypeDefaultDescription
valuenumber—Current value.
maxnumber100Highest allowed value.
labelstring—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-label
prop: hideLabel
booleanfalseKeep the label as accessible name only.
show-value
prop: showValue
booleanfalseShow 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