Docs
Progress Bar

Progress Bar

Animated progress bar with default, gradient, striped, and multi-segment variants.

Default65%
Gradient80%
Striped45%
React
Vue
Svelte

Installation

Usage

import { ProgressBar, MultiProgressBar } from "@/components/pioneerui/progress-bar"
 
export default function Stats() {
  return (
    <>
      <ProgressBar value={75} label="Storage used" showValue variant="gradient" />
      <MultiProgressBar
        segments={[
          { value: 50, color: "#6366f1", label: "React" },
          { value: 30, color: "#a855f7", label: "Vue" },
          { value: 20, color: "#ec4899", label: "Other" },
        ]}
      />
    </>
  )
}

Props — ProgressBar

PropTypeDefaultDescription
valuenumberCurrent value (required)
maxnumber100Maximum value
labelstringundefinedLabel text above the bar
showValuebooleanfalseShow percentage on the right
variantdefault | gradient | stripeddefaultVisual style
sizesm | md | lgmdBar height
animatedbooleantrueAnimate fill on mount