← All components

<progressbar>

ContentWallpaperWidget

Horizontal linear progress indicator.

Example

<progressbar value="{sys:battery}" max="100" color="#BB86FC" />

Attributes

NameTypeDefaultDescription
valueString—Current value (expression)
maxFloat100Maximum value
colorColor—Progress track color
backgroundColor—Track background color
strokeWidthDp—Bar thickness
strokeCapString
roundbuttsquare
roundStroke cap.