Progress
Progress bar with terminal-style character display.
Import
Usage
The Progress component displays a progress bar with customizable fill and empty characters.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | number | - | Current progress value (0-100) (required) |
| max | number | 100 | Maximum value |
| fillChar | string | '█' | Character used for filled portion |
| emptyChar | string | '░' | Character used for empty portion |
| width | number | 20 | Width in characters |
| showLabel | boolean | false | Whether to show percentage label |
| className | string | - | Additional CSS class names |
Variants
Basic
With Label
25%
50%
75%
100%
Animated
0%