Pilipinas Interface

Foundation

  • Overview
  • Get Started
  • Colors
  • Typography
  • Icons
  • Layout & Spacing
  • States & Feedback
  • Motion & Transitions
  • Expressions

Components

  • Overview
  • Accordion
  • Alert
  • Avatar
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Card
  • Checkbox
  • Code Block
  • Combobox
  • Command Menu
  • Dialog
  • Popover
  • Progress
  • Radio Group
  • Scroll Area
  • Select
  • Skeleton
  • Switch
  • Table
  • Tabs
  • Text Field
  • Tooltip

Resources

  • Registry

Components

Progress

Shows how much of a task is done, or that work is underway with no known duration. It reports state truthfully instead of faking completion.

Preview
Documents reviewed40 / 100
Unknown duration
Checking your reference
<Progress label="Documents reviewed" value={40} max={100} showValue />
<Progress label="Checking your reference" />

Usage

A task whose completion can be measured, or whose duration is unknown.

Do and don't

  • Do. Name the bar and say what is being processed nearby.
  • Don't. Move it backwards for effect or use it for a single button action.

Props

  • label; required accessible name for the bar.
  • value; current amount. Omit it for an indeterminate task.
  • max; upper bound, default 100.
  • showValue; prints the numeric amount beside the label in determinate mode.

Behavior and states

Determinate progress exposes aria-valuemin, aria-valuemax and aria-valuenow. Indeterminate progress marks the element aria-busy and pulses a bar at 40% width. The fill uses the shared accent token, so it follows the appearance and accent preferences without a component change. The width transition is removed under reduced motion.

Accessibility

The bar has the progressbar role and a required name. Pair it with a sentence that says what is being processed and what the person can do meanwhile. Do not make the percentage the only description, and do not announce every increment to a live region.

Responsive

The bar fills its container. Keep the label above it so narrow panels do not squeeze the value into an unreadable column.

Related

States & Feedback defines the loading vocabulary, Skeleton handles unknown layout, and Button owns in-flight actions.

← PreviousPopoverNext →Radio Group

Install

npx shadcn@latest add @pilipinas/progress

For your coding agent