Progress
Shows how much of a known amount is done, as a bar that fills toward its end.
Examples
Uploading
Importing holdings
Holdings export
Harbour Large Cap Core, from the filing of Aug 29.
Exporting
186 holdings
A spreadsheet with shares and weights.
States
Uploaded
Usage
Use it when
- A known amount of work is being done, such as an upload, an import or the steps of a setup, and the user waits on it.
Use something else when
- The amount of work is not known. Use Spinner instead.
- The content's shape is known and it is on its way. Use Skeleton instead.
- A button is waiting on its own press. Use StateButton instead.
Rules
General
Content
Avoid
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/progress.jsonimport { Progress, ProgressLabel, ProgressValue } from "@/components/cobalt/ui/progress"