Component
Progress
Show determinate, indeterminate, or scroll-following progress bars for articles and workflows.
Interactive preview
Usage
Import the component entry and start with its smallest complete example.
Import
import { Progress } from "@chitrank2050/monoline-ui/progress"Basic usage
<Progress value={32} />
<Progress value={null} />
<Progress followScroll className="w-full" />Usage guidance
Choose the component for its interaction model and semantics before customizing its appearance.
Progress covers known completion, indeterminate work, and document scroll position.
People need discrete steps, an editable value, or a static status label instead.
Progress exposes role progressbar and normalized value attributes, and callers must provide an accessible label or labelledby relationship.
This component needs browser JavaScript for state or browser APIs.
API reference
Props, slots, and callbacks available on this component.
Design tokens
Theme variables this component reads for color, spacing, and motion.
Implementation
The source used by the example above, including any state it needs.
import { Navbar } from "@chitrank2050/monoline-ui/navbar"
import { Progress } from "@chitrank2050/monoline-ui/progress"
import { Button } from "@chitrank2050/monoline-ui/button"
export function ReadingHeader() {
return (
<>
<Navbar
brand="Chitrank"
links={[{ href: "/blog", label: "Blog", active: true }]}
actions={<Button size="sm" variant="secondary">Contact</Button>}
sticky
/>
<Progress followScroll className="w-full" />
</>
)
}Related documentation
Compare related components or review the package and theme setup.