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

Properties

PropertyAttributeDescriptionTypeDefault
labelPaddingXlabel-padding-xHorizontal padding for the label container (CSS value). Examples: “3rem”, “48px”, “2rem” Default: “3rem”string'3rem'
showLabelshow-labelbooleanfalse
valuevalueThe progress value (0-100).number0
variantvariantVisual variant for the progress bar. - “default”: Standard progress bar with border and centered text - “brand”: EBRAINS branded progress bar with gradient, glow, and top text"brand" | "default"'default'

Methods

updateValue(newValue: number) => Promise<void>

Method to update the progress value externally.

Parameters

NameTypeDescription
newValuenumberThe new progress value (0-100).

Returns

Type: Promise<void>


Built with StencilJS