Glass Progress
rust
pub fn glass_progress(args: impl Into<GlassProgressArgs>)The glass_progress component displays a progress bar indicating the completion progress of a task. It is nearly identical to the glass_slider component but is not interactive. Consider it the glass-style variant of the slider component.
Arguments
args: impl Into<GlassProgressArgs>This argument configures the style of the
glass_progresscomponent, including size, color, border, and also sets the displayed progress. UseGlassProgressArgsBuilderto construct it.Unlike the
glass_slidercomponent,glass_progressdoes not place the progress into a separate state struct; the progress is passed directly via arguments because the progress bar is for displaying data rather than modifying it.
Preview
