Skip to content

Progress

A labelled progress bar.

Example

Import64%
Storage92%
Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    Stack::new()
        .add(Progress::new("Import", 64, 100))
        .add(Progress::new("Storage", 92, 100).tone(Tone::Warning))
        .into()
}