Skip to content
🌏 Translated with the assistance of DeepSeek and ChatGPT

Progress

This component represents task completion progress visually, though it is not indicative of real-world progress.

Progress Themes

The progress offers various themes: 'primary' (default), 'success', 'warning', 'danger', 'sakura' and 'notice'.

Hide source code

Progress Variants

There are two visual variants: 'solid' (default) and 'checkered'.

Hide source code

Indicator

Use the indicator slot to render a custom indicator (for example a label showing percentage). The component will position it automatically; indicatorPlacement prop controls whether it sits 'inside' or 'outside' the bar.

30%
70%
Hide source code

Sizes

Control height with the size prop. Accepts 'small', 'medium' (default), 'large' or a number (px).

Hide source code

Prepend / Append Slots

You can provide prepend and append slots to add content before or after the progress bar (e.g. labels or icons).

Progress: 100%
Status: Complete
Message
Hide source code

Custom Color

Set a custom color string (CSS-like rgb/rgba or hex 3/4/6/8) to generate a palette used by the bar. trackBackgroundColor can override the track background.

Hide source code

API

ProgressProps

AttributeTypeOptionalDefaultDescriptionVersion
percentagenumberTrue0Numeric value indicating completion progress (0-100).0.1.0
variant'solid' | 'checkered'True'solid'The style variant of the progress bar.0.1.0
theme'primary' | 'sakura' | 'success' | 'warning' | 'danger' | 'notice'True'primary'The theme of the progress bar.0.1.0
size'medium' | 'large' | 'small'True'medium'The size of the progress bar, measured in px when a number is input.0.1.0
gapnumberTrue2Gap spacing (px) inside the border.0.1.0
indicatorPlacement'inside' | 'outside'True'inside'The position of the indicator content, located inside or outside the filled portion of the progress bar.0.1.0
colorstringTrueCustom primary color. See Supported Color Parsing.0.1.0
colorstringTrueCustom primary color. See Supported Color Parsing.0.1.0
pollSizeChangebooleanTruefalseEnables polling for component size changes, which may affect performance.0.1.0

ProgressSlots

SlotParameterDescriptionVersion
appendpercentage: numberSlot for content placed after the progress bar.0.1.0
prependpercentage: numberSlot for content placed before the progress bar.0.1.0
indicatorpercentage: numberSlot for indicator content inside the progress bar.0.1.0