Skip to content
FEEDBACK · FREE

ProgressBar

Show how far along something is.

Show how far along something is, or an indeterminate bar when the length is unknown.

Why it helps

  • Determinate or indeterminate
  • Accessible
  • Simple

Where it fits

  • Uploads
  • Imports
  • Multi-step flows
ProgressBar control in a RayCraft page

Example

<Stack Direction="StackDirection.Column" Spacing="4">
    <ProgressBar Value="_value" Label="Upload" />
    <ProgressBar Value="80" Severity="Severity.Success" Label="Done" />
    <ProgressBar Label="Loading" />
    <Stack>
        <Button Size="Size.Small" OnClick="() => _value = Math.Max(0, _value - 10)">−10</Button>
        <Button Size="Size.Small" OnClick="() => _value = Math.Min(100, _value + 10)">+10</Button>
    </Stack>
</Stack>

@code {
    private double _value = 40;
}

A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.

Included in RayCraft Free. Working examples are in the GitHub repository (MIT); it holds example and demo code, not the library code.

All controls ยท Documentation