ProgressBar
ProgressBar is the linear progress indicator.
Use it when the user should see how far through a task or process the app has moved, but precision can stay visual rather than textual. It is especially good for uploads, imports, setup steps, and background work that already has a real completion fraction.
Example
use fission::prelude::*;
let node = ProgressBar { value: 0.35 }.build(ctx, view);
This renders a bar filled to 35 percent of its width.
Field table
| Field | Type | Meaning | Notes / default behavior |
|---|---|---|---|
value | f32 | Progress fraction from empty to full. | The checked-in widget clamps it to the 0.0 to 1.0 range. |
When to use it
A linear bar is usually easier to read than a circular one when the layout already has horizontal room, especially in forms, task flows, and lists. It also pairs naturally with descriptive text above or below it.
The widget is purely visual. If exact progress matters, pair it with text such as 35% or 3 of 8 completed.
Related
CircularProgress, Spinner, Skeleton, and Stat.