UI
progress
The progress
function adds a progress/work done indicator to your app.
Parameters
label
(str): The label displayed in the progress component, indicating its purpose.value
(float): (Optional) The current progress value (0.0 to 100.0). Values are automatically clamped to this range and rounded to the nearest integer for display.size
(float): (Optional) The width of the component in a row. Defaults to1.0
(full row). See the Layout Guide for details.
Returns
float
: the currentvalue
Usage Example
Here’s an example of how to add a progress indicator to your app:
Was this page helpful?