← All components

<progressbar>

ContentWallpaperWidget

Horizontal linear progress indicator.

Example

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

Attributes

NameTypeDefaultDescription
valueStringCurrent value (expression)
maxFloat100Maximum value
colorColorProgress track color
backgroundColorTrack background color
strokeWidthDpBar thickness
strokeCapString
roundbuttsquare
roundStroke cap.