ProgressBar

Horizontal progress indicator with optional label. Supports semantic and custom colors.

Preview

Usage

import { ProgressBar } from '@ramtt/ui'

<ProgressBar value={73} max={100} />
<ProgressBar value={45} max={100} color="positive" label="Compliance" />

Props

PropTypeDefaultDescription
value*numberCurrent progress value
max*numberMaximum value
color'default' | 'positive' | 'negative' | 'warning' | string'default'Bar color
labelstringLabel text above bar
heightnumber6Bar height in pixels