Progress

A progress bar for displaying the completion status of a task.

Installation

Import the component from the passport-ui package.

components/example.tsx
1import { Progress } from "passport-ui";

Usage

Basic example showing how to use the component.

components/example.tsx
1<div className="w-sm">
2 <Progress value={60} />
3</div>
4
5{/* Different progress values */}
6<Progress value={25} />
7<Progress value={50} />
8<Progress value={75} />
9<Progress value={100} />
10
11{/* Indeterminate progress */}
12<Progress value={null} />

Additional resources

Documentation and examples are available in Storybook.