Progress Bars

Svelte Component

An indicator showing the progress or completion of a task.

Examples

Getting Started

This component is treated as an ARIA progressbar.

html
<ProgressBar label="Progress Bar" value={50} max={100} />

Indeterminate Mode

Remoe the value property or set to undefined.

html
<ProgressBar />
html
<ProgressBar value={undefined} />

Native Alternative

The native progress element works cross browser, but does not currently support Indeterminate mode when styled.

html
<progress value={50} max={100} />