pub fn progress(value: f32) -> 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.
The visible portion fills with tokens::PRIMARY; use
progress_with_color to vary it (e.g. tokens::SUCCESS, or
tokens::DESTRUCTIVE when the value crosses a “near full”
threshold).