Progress
A Progress component visually indicates the completion status of a task or process. It typically consists of a progress bar that fills up as the task progresses, providing users with a clear and immediate understanding of how much of the task is completed and how much remains. This component is commonly used in forms, uploads, downloads, and loading states to enhance user experience by managing expectations and keeping users informed.
Rendered live, with the same build of the library you install.
Bar only
With a visible label
Progress.tsx
import { NProgress } from '@nayan-ui/react';const Progress = () => {return (<div><h3 className="text-foreground mb-2 mt-4 text-sm font-semibold">Bar only</h3><NProgress value={30} /><h3 className="text-foreground mb-2 mt-4 text-sm font-semibold">With a visible label</h3><NProgress value={72} label="Uploading" showLabel /></div>);};export default Progress;
| Name | Type | Default | Details |
|---|---|---|---|
| value | number | Required | Current progress value. |
| className | string | ' ' | You can customise by passing tailwind classes. |
| label | string | Optional | Label for the progress bar. |
| showLabel | boolean | Optional | Whether to show the label. |
| color | 'default' | 'accent' | 'success' | 'warning' | 'danger' | 'default' | Color of the progress bar. |
| size | 'sm' | 'md' | 'lg' | 'md' | Size of the progress bar. |
Other components solving nearby problems.
- React Progress Bar
- Progress Indicator in React
- React Loading Progress
- Progress Component for React
- Custom Progress in React
- React Progress Circle
- Animated Progress Component
- React Linear Progress
- Determinate Progress in React
- Indeterminate Progress in React
- React Progress Loader
- Responsive Progress Bar in React
- Progress Tracker in React
- Progress with Steps in React
- Customizable Progress Bar
- Progress Animation in React
- Progress Tooltip in React
- Multi-Step Progress in React
- Progress Component Library
- React Progress API