Progress

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

Installation

Import the component from the passport-ui package.

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

Usage

Basic example showing how to use the component.

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

Additional resources

Documentation and examples are available in Storybook.