Progress

Display the completion status of a task or process.

When to Use

  • To show upload or download progress
  • For task completion indicators
  • For dashboard metrics and KPIs

Import

import { Progress } from "orizon";

Examples

Line

30%
50%
<Progress percent={30} />
<Progress percent={50} status="active" />
<Progress percent={70} status="exception" />
<Progress percent={100} />

Circle

75%
<Progress type="circle" percent={75} />
<Progress type="circle" percent={100} />
<Progress type="circle" percent={30} status="exception" />

Dashboard

75%
<Progress type="dashboard" percent={75} />

Steps

60%
<Progress percent={60} steps={5} />

Small Size

50%
50%
<Progress percent={50} size="small" />
<Progress type="circle" percent={50} size="small" />

API

ProgressProps

  • percentnumber — Completion percentage (0-100)
  • type"line" | "circle" | "dashboard" — Visual type (default: "line")
  • status"success" | "exception" | "normal" | "active" — Status color
  • strokeColorstring | { from: string; to: string } — Bar/stroke color
  • showInfoboolean — Show percentage text (default: true)
  • size"default" | "small" | [number, number] — Progress size
  • stepsnumber — Segmented steps count
  • format(percent) => ReactNode — Custom text format
  • strokeLinecap"round" | "butt" | "square" — Stroke end style (default: "round")
  • success{ percent: number; strokeColor?: string } — Success segment config
  • railColorstring — Background track color
  • strokeWidthnumber — Stroke thickness (circle/dashboard only)