PolyHunter

Progress

Linear progress on a subtle surface track with a guild bar that animates smoothly when the value changes. All colors from tokens in @npolyhunter/ds/theme.css.

Playground

Live preview

64%

Examples

Live animation

<Progress value={value} />
// value changes animate the bar with a 0.4s ease-in-out tween

Loading (indeterminate)

A 40% bar slides across the track until the value is known.

<Progress loading />
// or: value stays null/undefined while unknown
<Progress value={pending ? null : value} />

States

empty
half
full
disabled
<Progress value={50} />
<Progress value={100} />
<Progress value={50} disabled />   // 45% opacity

Code

import { Progress } from "@npolyhunter/ui";

// Track: surface-subtle, bar: action-primary (guild), animated on value change
<Progress value={64} />

// Disabled — 45% opacity
<Progress disabled value={50} />

// Loading — indeterminate slide until a value arrives
<Progress loading />

Code

<Progress
  value={value}             // 0 – 100 (animated with a subtle ease)
  max={max}
  loading={loading}         // indeterminate — bar keeps sliding
  disabled={disabled}
/>

Used in

Includes use through shared UI components.

AppBack Office