Lucent UI
SkeletonProgressStack
✦ LLM-ready

Progress

atom

Horizontal progress bar for completion, usage, or health metrics. Supports four semantic variants (accent, success, warning, danger), three sizes, optional labels, and threshold-based auto-variant switching via warnAt/dangerAt props. Smooth CSS transitions on value and variant changes.

"Add a Progress bar from lucent-ui with value={75} and variant="success" to show upload completion."

Usage

React / JSX
import { Progress } from 'lucent-ui'

<Progress max={100} variant="accent" size="md" />

Installation

pnpm add lucent-ui

API Reference

Progress props — * required

PropTypeDefaultDescription
value*numberCurrent progress value.
maxnumber100Maximum value.
variant"accent" | "success" | "warning" | "danger""accent"Bar color variant.
size"sm" | "md" | "lg""md"Bar height.
labelboolean | ReactNodeShow percentage label (true) or custom content.
warnAtnumberValue threshold to auto-switch to warning variant.
dangerAtnumberValue threshold to auto-switch to danger variant.