import { Progress } from "@/components/wensity/progress";export function LinearProgress() {return <Progress value={48} label="Upload" showValue tone="brand" />;}
Progress
A React progress bar on Base UI with spring smoothed fills and an indeterminate sweep, plus circular, stepped, and stacked multi part bars.
Examples
Practical examples and common states for the same installable component.
Linear
Standard progress bar with animated value changes.
Circular
Compact radial progress for cards and metric tiles.
Segmented
Multi-step progress for checkout or onboarding flows.
Indeterminate
Loading animation when completion is unknown.
import { Progress } from "@/components/wensity/progress";export function IndeterminateProgress() {return <Progress indeterminate label="Syncing workspace" tone="brand" />;}
Stacked
Multiple values in one capacity bar with legend.
Overview
Progress is a React and Tailwind CSS progress bar, in Next.js or any React app, with linear, circular, segmented, and stacked forms. The linear bar uses Base UI Progress, so it exposes a real progressbar role, and its fill eases to each new value on a Framer Motion spring while the percent label counts along. indeterminate swaps the fill for a sweeping highlight when the total is unknown. CircularProgress draws a ring for uploads, SegmentedProgress marks onboarding steps, and StackedProgress splits one bar into labeled parts such as storage by file type. Reduced motion makes every change instant.
Installation
Run the following command
pnpm dlx wensity@latest add progress
npx wensity@latest add progress
yarn dlx wensity@latest add progress
bunx wensity@latest add progress
Usage
Import Progress from @/components/wensity/progress and render it anywhere in your React or Next.js app. The source lands in your own repo, so every prop, class and animation below is yours to edit.
import { Progress } from "@/components/wensity/progress";export function ProgressDemo() {return <Progress value={62} showValue label="Deployment" tone="brand" />;}
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 0 | Current progress, measured against max. |
max | number | 100 | Value that counts as complete. |
size | "sm" | "md" | "lg" | "md" | Track thickness. |
tone | "neutral" | "brand" | "success" | "warning" | "danger" | "brand" | Colour of the filled track. |
label | string | "Progress" | Accessible label for the progress bar. |
showValue | boolean | false | Shows the numeric percentage beside the track. |
indeterminate | boolean | false | Runs a looping animation for work of unknown duration. |
Related primitives
Spinner
A React loading spinner in arc, ring, dots, and pulse styles with a screen reader label, five tones, three sizes, and an overlay that blocks a region.
Skeleton
React skeleton loading placeholders for text, avatars, cards, and tables, plus a custom block, with a soft shimmer that stops under reduced motion.
Slider
A React range slider on Base UI with one or two thumbs, a value bubble that shows while dragging, formatted values, and a minimum thumb gap.
Attachment
React file attachment rows for uploads and chat, with icons by file type, readable sizes, upload progress, retry, download, and image preview cards.
Related components

Water Progress Bar
A progress bar that fills with water, its rippling front leaning as it runs.

Liquid Loading Animation
A loader that fills with liquid to your progress, in a glass circle, square, or word.

Gooey Range Slider
Drag the thumb and the filled track stretches with it, then the thumb contracts into a circle when you let go.

File Uploader
A bold red dropzone for any file, with gallery tiles and progress after upload.