How to add gradient to Progress Bar?

I did mine by masking a Progress bar separated from or outside any complication with my coloured image on top of it. And it worked fine.

Hi, that works too…but if u want to use say uv complication it wont work. Op may like to besides battery, hr and steps.

Screenshot_20240207_195425_shealth

Hi has the “gradient” progress bar on the right for the chance of rain complication.

Using my above technic