Skip to content
Eskais UI

Feedback

Progress

UI SDK Progress: a task's progress, determinate or indeterminate, with label and value.

Example

Uploading report.pdf40%
Indexing done100%

Installation

npx shadcn@latest add @eskais/progress
Brings alongtone

Usage

Import
import {  GaugeRangeContext,  gaugeClassNames,  Progress,  ProgressIndicator,  ProgressLabel,  ProgressTrack,  ProgressValue,} from "@/components/ui/progress"

API reference

Progress

PropTypeDefault
toneTone–

Also takes every prop of UI SDK Progress.

ProgressValue

PropTypeDefault
formatValue(value: Value, details: GaugeValueDetails<Value>) => ReactNode–

Also takes every prop of UI SDK ProgressValue.

Other exports

GaugeRangeContextgaugeClassNamestype GaugeTonePropstype GaugeValueDetailstype GaugeValueFormatPropstype ProgressState

Accessibility

  • A progressbar with a label and a formatted value; indeterminate when the value is unknown.

Agent actions

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.