Progress

Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.

Anatomy

Import all parts and piece them together.

use leptos::prelude::*;
use singlestage::progress::*;

#[component]
pub fn ProgressAnatomy() -> impl IntoView {
    view! { <Progress /> }
}

API Reference

Progress

Displays progress.

Custom Attributes
NameTypeDefaultDescription
maxusize100

The value that represents 100%, or full.

valueusize0

The current progress value to be rendered.

Implements global attributes.