Progress
Progress Bar
The Progress component displays a bar indicator to represent progress as a percentage.
Preview

Usage
import { Progress } from 'components/lib';
function Example({ ...props }){
return (
<div>
<Progress value={ 50 } />
</div>
);
}Props
Prop
Description
Required
Value
className
custom styling
optional
SCSS or Tailwind
value
percentage value
required
integer
Notes
The
Progresscomponent usesProgressPrimitivefrom@radix-ui/react-progressfor the progress functionality.The
valueprop specifies the percentage value to be displayed by the progress bar.The
classNameprop allows for custom styling to be applied.The progress indicator's transform is calculated based on the
valueprop to visually represent the progress.For more details, refer to the Shadcn Progress documentation.
Last updated
Was this helpful?