eds-progress-bar
Explore the Interactive Component
Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.
See It in Use with Code
Check out this practical implementation of component.
Plain HTML
In React
In Vue
Overview
EdsProgressBar shows how far a task has got, 0–100.
A thin rounded track with an accent fill (dark green on light, neon on
dark) and the value in mono to the right. label names the bar (shown
above it, and used as the accessible name); indeterminate shows an
animated bar for work of unknown length.
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
indeterminate | indeterminate | Work of unknown length: an animated bar, no value. | boolean | false |
label | label | Visible label and accessible name of the progress bar (e.g. “Uploading dataset”). Without it the bar is announced as “Progress”. | string | undefined |
labelPaddingX | label-padding-x | [DEPRECATED] No longer used — the label row aligns with the bar. Kept for API compatibility. | string | '3rem' |
showLabel | show-label | Show the percentage (always shown in the default variant). | boolean | false |
value | value | The progress value (0-100). | number | 0 |
variant | variant | Visual variant for the progress bar. - “default”: 8px rounded track, value to the right - “brand”: hairline 4px track; label and value sit above it | "brand" | "default" | 'default' |
Methods
updateValue(newValue: number) => Promise<void>
Method to update the progress value externally.
Parameters
| Name | Type | Description |
|---|---|---|
newValue | number | The new progress value (0-100). |
Returns
Type: Promise<void>
Built with StencilJS