Umbra UI

Progress

A bar showing how far a task has got.

Staticimport { Progress } from 'umbra-ui'

Props

PropTypeDefaultDescription
max number100Value that counts as complete.
size "sm" | "md"mdBar thickness.
value number | nullnullCurrent value from 0 to `max`. `null` shows an indeterminate bar.

Usage notes

Pass value (0 to max) when you know how far along the task is. Leave it out for an indeterminate bar.

Accessibility

  • role="progressbar" with aria-valuenow and aria-valuemax. Give it an aria-label or aria-labelledby.
  • The indeterminate bar stops sliding under reduced motion.

Import

import { Progress } from 'umbra-ui';
import 'umbra-ui/styles.css'; // once, at the root of your app