glaze/basecoat/progress
Basecoat documentation: https://basecoatui.com/components/progress/
Progress helpers for linear completion indicators.
Recipe
import glaze/basecoat/progress
fn download_progress() {
progress.progress([
progress.value(75),
progress.max(100),
])
}
References
Values
pub fn max(val: Int) -> attribute.Attribute(msg)
pub fn progress(
attrs: List(attribute.Attribute(msg)),
) -> element.Element(msg)
pub fn value(val: Int) -> attribute.Attribute(msg)