Components
ProgressBar
Terminal progress bar with block-fill characters that auto-sizes to terminal width.
A terminal progress bar using Unicode block characters. Auto-sizes to terminal width or accepts a fixed width.
Installation
Usage
Examples
Basic
With label and percent
Fixed width
Multiple bars
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | — | Progress value 0–100 (required) |
label | string | undefined | Optional label to the left of the bar |
showPercent | boolean | true | Show numeric percentage at the right |
width | number | auto | Fixed bar width in columns. Defaults to terminal width minus overhead |
theme | InkUITheme | darkTheme | Color theme |