Function freya_components::ProgressBar

source ·
pub fn ProgressBar(_: ProgressBarProps) -> Element
Expand description

Display the progress of something visually. For example: downloading files, fetching data, etc.

§Styling

Inherits the ProgressBarTheme theme.

§Example

fn app() -> Element {
    rsx!(ProgressBar {
        show_progress: true,
        progress: 50.0
    })
}

§Preview

ProgressBar Preview