(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Progress Bar

[!WARNING] This component might still be in development. Please use with caution.

Overview

Example Progress Bar

Specs

Tokens

Token Description
displayName Display name in the structure panel
visibilityPolicySetId Controls visibility using policy sets
titleTranslations Title text with localization support
errorMessage Message shown when progress bar is in error state
paddingClass Spacing around the progress bar via CSS classes
events Configures component events
ON_INIT (Events) Event triggered on initialization
ON_DESTROY (Events) Event triggered on removal
id Unique identifier for programmatic access
dataTestId Identifier for automated testing
enableAsHotspot Enables the progress bar as a guided tour hotspot
guidedTourHotSpotTitle Localized title for guided tour hotspot
guidedTourHotSpotDescription Localized description for guided tour hotspot
updateProgress Method to update progress value
setInvalid Method to set error state with message
setValid Method to reset from error state

Structure

(Configured in Component Actions)

(Configured in Visual Properties)

(Configured in General Properties)

(Configured in Technical Documentation for Backend Developers)

  {
    "progress": 65,
    "status": "processing",
    "remainingTime": "2 minutes"
  }

Styling

(Configured in General Properties)

(Configured in Visual Properties)

Actions & Variants

(Configured in Events)

(Configured in Component Actions)

Tests

(Configured in Testing Hooks)

Links

Guidelines

Technical Documentation for Backend Developers

Progress Updates
The progress bar typically receives updates from frontend processes, but it can also be updated based on server-sent events or polling API endpoints that return progress information.

Example progress update format from an API:

{
  "progress": 65,
  "status": "processing",
  "remainingTime": "2 minutes"
}

The actual progress value (0-100) would be extracted from this response and used to update the progress bar.

Usage

Sizing & Layout

States & Feedback

Data-Driven / Conditional Behavior

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
update with values strictly within 0–100. pass values outside the allowed range or non-numbers. updateProgress
show an actionable failure message when progress cannot continue. indicate failure only by color or by stopping updates with no explanation. setInvalid, errorMessage
clear the error state when resolved, then resume updates. keep the bar in error after the issue is fixed. setValid, updateProgress
add outer spacing to suit context. force spacing with external CSS overrides. paddingClass
localize all user-facing copy (title, error, hotspot text). ship English-only text. titleTranslations, errorMessage, guidedTourHotSpotTitle, guidedTourHotSpotDescription
hide for ineligible users. show sensitive progress to users who shouldn’t see it. visibilityPolicySetId
annotate the component for tours when teaching the UI. rely on ad-hoc callouts elsewhere to explain it. enableAsHotspot, guidedTourHotSpotTitle, guidedTourHotSpotDescription
clean up listeners/timers on teardown. leave background work running after navigation. events.ON_DESTROY

Accessibility