Duration option for progress bar

A simple but excellent option for this element. Currently, this duration cannot be controlled. For example, if we set the duration to 2 seconds, it will take 2 seconds for the progress bar to go from 0 to 100 percent.
This alone may seem like a useless feature. But this can be great with popup. Suppose we have a pop-up that closes automatically 3 seconds after the page is loaded. In this situation, we can put the progress bar inside the popup and set the duration to 3 seconds.

In this case, the user will visually see that the pop-up will be closed in 3 seconds.