Pimjo has acquired Sera UI 🎉 — Learn More

React Progress Bar

A modern, animated progress bar component built with Framer Motion and Tailwind CSS. It provides a visual representation of a task's completion status with smooth transitions and customizable styles.

Default

Gradient

30%30 / 100

Sizes

Variants

Installation

npx shadcn@latest add progress.json

Usage

Import the Progress component and provide a value between 0 and max (default 100).

Loading...

Variants

The progress bar supports several visual variants to match your UI's context.

Default

The standard primary progress bar.

Loading...

Gradient

A vibrant gradient variant using indigo, purple, and pink.

Loading...

Success

Used for completed tasks or positive progress.

Loading...

Warning

Used for tasks that require attention or are nearing a limit.

Loading...

Error

Used for failed tasks or critical states.

Loading...

Sizes

Available in three sizes: sm, md (default), and lg.

Loading...

Props

PropTypeDefaultDescription
valuenumber0The current progress value
maxnumber100The maximum value
variant'default' \'gradient' \'success' \
size'sm' \'md' \'lg'
showValuebooleanfalseWhether to show the percentage and value labels
animatedboolean—Whether to animate width changes