Progress
Horizontal progress bar with value, optional label, semantic variant colors, and three sizes.
primitive progress
Controls
value
variant
size
label
Current props
value: ""variant: ""size: ""label:
Usage
primitive.Progress(primitive.ProgressProps{
Value: 72,
Label: "Uploading…",
ShowLabel: true,
Variant: primitive.ProgressSuccess,
})All combinations (60)
Enum controls only · bool and text use defaults
Props
| Name | Type | Options | Default |
|---|---|---|---|
value | enum | 0, 25, 50, 72, 100 | 72 |
variant | enum | , success, warning, danger | |
size | enum | sm, md, lg | md |
label | bool | — | true |