Skip to main content
Mantı UI logoMantı UIv0.12.1
Studio

Progress

The default linear view fills a horizontal track. Omit value for indeterminate progress.

import { Progress } from '@manti-ui/react';

export default function ProgressBasic() {
  return (
    <div className="w-full max-w-[calc(var(--manti-space-16)*8)]">
      <Progress label="Steaming" defaultValue={65} showValue />
    </div>
  );
}

Circular

Use variant="circular" for a ring.

Steaming
65%

Sizes

Small
Medium
Large

API

PropTypeDefaultDescription
variant'linear' | 'circular''linear'Linear bar or circular ring.
labelReactNodeOptional label.
size'sm' | 'md' | 'lg''md'Control size.
valuenumber | nullControlled value; pass `null` for an indeterminate state.
defaultValuenumber | nullInitial value for uncontrolled usage.
minnumber0Minimum value.
maxnumber100Maximum value.
showValuebooleanShow the formatted value text.
rootPropsHTMLAttributes<HTMLDivElement>Native, ARIA, and data props for the element with role progressbar.

Styling

Anatomy

PartSelectorDescription
root[data-scope="progress"][data-part="root"]The indicator wrapper.
header[data-scope="progress"][data-part="header"]Row holding the label and value text.
label[data-scope="progress"][data-part="label"]The optional label.
value-text[data-scope="progress"][data-part="value-text"]The formatted value text.
track[data-scope="progress"][data-part="track"]The linear track behind the fill.
range[data-scope="progress"][data-part="range"]The filled portion of the linear track.
circle[data-scope="progress"][data-part="circle"]The circular SVG ring.
circle-track[data-scope="progress"][data-part="circle-track"]The circular ring background.
circle-range[data-scope="progress"][data-part="circle-range"]The filled arc of the ring.
circle-text[data-scope="progress"][data-part="circle-text"]The percentage shown inside the ring.

Tokens

TokenControls
--manti-progress-track-heighttrack height
--manti-progress-circle-sizecircle size
--manti-progress-circle-thicknesscircle thickness

Last updated

Built end-to-end with Manti UI components and design tokens. Manti UI is a framework-agnostic design system on Zag.js.

GitHub