value approaches max.
Basic Usage
Custom Max
By defaultmax is 100, but you can set it to any positive number. The renderer normalizes the value to a percentage automatically.
Custom Colors
Useindicator_class to change the progress bar color:
Dynamic Progress with Labels
Bind a slider to a progress bar so the label reflects the actual value. Thepercent format specifier turns a raw fraction into a readable percentage:
API Reference
Progress Parameters
Current progress value.
Maximum value. The renderer normalizes
value / max to a 0–100 percentage.Tailwind classes for the indicator bar (e.g.
"bg-green-500"). Overrides the default primary color.Additional Tailwind CSS classes.
Protocol Reference
Progress