Morpha UI

Progress

A linear indicator for determinate progress.

Overview

The MD3 linear progress indicator: a 4px full-radius track on secondary-container with a primary active bar. Pass value (0–100); the bar slides to each new value with the kit's 200ms strong ease-out, so stepped updates read as motion rather than jumps. For waits of unknown length use Spinner instead.

x
$ npx morpha-ui add progress

Examples

Values

x
x
x
x

Installation

Morpha UI components are distributed via the Morpha CLI: npx morpha-ui add progress. In the meantime, since this is the base shadcn component, you can also add it directly:

npx shadcn@latest add progress

API Reference

Prop

Type

Accessibility

  • The underlying Base UI primitive exposes role="progressbar" with aria-valuenow / aria-valuemin / aria-valuemax.
  • Add an aria-label (or aria-labelledby) describing what is progressing.
  • The indicator moves via transform; users who prefer reduced motion simply see the bar at its new position.

On this page