Skip to content

Progress

Linear progress bar for showing the current operation progress.

Code examples

Progress styles

Percentage display, custom colors, and progress animation

API

Props

属性说明类型默认值
percentPercentage, 0–100number0
show-infoWhether to show percentage on the rightbooleanfalse
stroke-widthBar thickness (px)number6
active-colorColor of the completed portionstring-
background-colorColor of the remaining portionstring-
activeWhether to show progress animationbooleanfalse

MiniDev Studio — Mini-app Development Toolkit