pub fn progress(value: f32, fill_color: Color) -> ElExpand description
A horizontal progress bar. value is clamped to 0.0..=1.0; the
returned El defaults to filling its container’s width and a
fixed DEFAULT_HEIGHT. Override with .height(...) /
.width(...) like any El.
Pass tokens::PRIMARY, tokens::SUCCESS, etc. via fill_color
to vary the visible portion’s color (e.g. switch to
tokens::DESTRUCTIVE when the value crosses a “near full”
threshold).