--- title: Progress Bar sidebar_position: 1 sidebar_custom_props: icon: TbLoader2 --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import progressBarCode from '!!raw-loader!@site/src/ui/feedback/progressBarCode.js' import circularProgressBarCode from '!!raw-loader!@site/src/ui/feedback/circularProgressBarCode.js' import { SandpackEditor} from '@site/src/ui/SandpackEditor' Indicates progress or countdown and moves from right to left.
Props Type Description Default
duration number The total duration of the progress bar animation in milliseconds 3
delay number The delay in starting the progress bar animation in milliseconds 0
easing string Easing function for the progress bar animation easeInOut
barHeight number The height of the bar in pixels 24
barColor string The color of the bar gray80
autoStart boolean If `true`, the progress bar animation starts automatically when the component mounts `true`
## Circular Progress Bar Indicates the progress of a task, often used in loading screens or areas where you want to communicate ongoing processes to the user.
Props Type Description Default
size number The size of the circular progress bar 50
barWidth number The width of the progress bar line 5
barColor string The color of the progress bar currentColor