mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-01 16:44:24 +00:00
33 lines
558 B
Plaintext
33 lines
558 B
Plaintext
---
|
|
title: Progress
|
|
description: Displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
|
|
component: true
|
|
radix:
|
|
link: https://www.radix-ui.com/docs/primitives/components/progress
|
|
api: https://www.radix-ui.com/docs/primitives/components/progress#api-reference
|
|
---
|
|
|
|
<ComponentPreview name="progress-demo" />
|
|
|
|
## Installation
|
|
|
|
<Steps>
|
|
|
|
### Command
|
|
|
|
```bash
|
|
npx shadcn-ui add progress
|
|
```
|
|
|
|
### Usage
|
|
|
|
```tsx
|
|
import { Progress } from "@/components/ui/progress"
|
|
```
|
|
|
|
```tsx
|
|
<Progress value={33} />
|
|
```
|
|
|
|
</Steps>
|