Partials·loomora/ProgressBar

ProgressBar

Displays a value relative to an upper bound and can include a label and accessible textual value.

Interactive live playground

Tweak props, change states, and see the live component respond in real time.

Live

How to call

Import directly from the Loomora package root. For projects without Tailwind CSS, ensure loomora/dist/index.css is imported once in your root layout.

import { ProgressBar } from 'loomora'

<ProgressBar value={7} outOf={10} showValueAsText label="Build progress" />

API reference

Important public props and how they affect rendering.

5 props
PropTypeDefaultDescription
valuenumberrequiredCurrent progress amount.
outOfnumber100Maximum progress amount.
labelReactNode—Optional visible progress label.
showValueAsTextbooleanfalseShows the progress as text.
barColorstringconfig defaultTailwind class for the filled bar.