as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
The Progress Bar component displays a progress bar to show ongoing activity. When undefined, the progress bar shows an indeterminate indicator.

Usage

Import

Example

Props

PropTypeDefault ValueRequiredDescription
progressNumberN/ANoA number from 0 and 100 that represents % progressed. If undefined, shows an indeterminate progress indicator.
animationDurationNumber250 ms for determinate, 1000 ms for indeterminateNoThe duration of the progress animation, in milliseconds
indicatorColorColorValueDetermined by themeNoColor of the progress indicator
trackColorColorValueDetermined by themeNoColor of the progress track (container)
sizeSizeVariantAll”md”NoSize of the progress bar. Supports ‘xs’, ‘sm’, ‘md’, ‘lg’, ‘xl’, ‘xxl’
barStyleViewStyleDetermined by themeNoStyle override for bar (also referred to as the track or container)
indicatorStyleViewStyleDetermined by themeNoStyle override for indicator

Customization

You can customize the progress bar using the progress, animationDuration, indicatorColor, trackColor, size, barStyle, indicatorStyle, and rtl props. Theme support is available, and is currently applied for the borderRadius, height, width, and backgroundColor styles of the component.

Interactivity

Accessibility

UI experience

Determinate

This video demonstrates a determinate progress bar.

Indeterminate

This video demonstrates an indeterminate progress bar.

Toggling

This video dynamically toggles between indeterminate and determinate indicators at runtime.
最后修改于 2026年6月23日