Components / Status
Progress
Markdown crates/ui/src/widgets/controls.rs docs.rs
use ui::widgets::Controls;
theme.progress_bar(0.35)No indeterminate mode — that is what the loaders are for.
API
pub trait Controls: ThemeExt {
/// Clamped to `0..=1`; the track keeps its width, so a row never reflows
/// as progress moves.
fn progress_bar(&self, fraction: f32) -> Div;
// ...
}