adn-ui
Components

Progress

A high-quality, styled React progress bar component built with @base-ui/react for task progress indication.

The Progress component visualizes task completion status with support for animated indicators, custom labels, and percentage formatting.

Usage

import { Progress } from "@/components/ui/progress";

export function ExampleProgress() {
  return (
    <Progress.Root value={65}>
      <Progress.Label>Uploading Assets</Progress.Label>
      <Progress.Value />
      <Progress.Track>
        <Progress.Indicator />
      </Progress.Track>
    </Progress.Root>
  );
}

Preview

Exporting Data
x

Anatomy

import { Progress } from "@base-ui/react/progress";

<Progress.Root>
  <Progress.Label />
  <Progress.Track>
    <Progress.Indicator />
  </Progress.Track>
  <Progress.Value />
</Progress.Root>;

API Reference

Progress.Root Props

PropTypeDefaultDescription
valuenumber | nullnullCurrent completion value. Set to null for indeterminate state.
minnumber0Minimum progress value.
maxnumber100Maximum progress value.
size'sm' | 'md' | 'lg''md'Progress track height size.

On this page