There is also a default slot if you want to display anything you want inside the progress bar
Progress
Wrapper around Bulma / Native HTML progress bars
40
80%
# Types
# Sizes
# Values
80
# Slot
Custom display with HTML
75 / 100
3 out of 4
# API
Name | Description | Type | Values | Default |
---|---|---|---|---|
type | Type (color) of the progress bar, optional | String | is-white , is-black , is-light ,
is-dark , is-primary , is-info , is-success ,
is-warning , is-danger ,
and any other colors you've set in the $colors list on Sass | is-darkgrey |
size | Size of the progress bar, optional | String | is-small , is-medium , is-large | — |
value | The progress value, progress will be indeterminate if undefined. | Number | — | — |
max | The maximum value for the progress bar. | Number | — | 100 |
show-value | If the value should be displayed inside the progress bar. | Boolean | — | false |
format | Which format should be used to display the value (if show-value is true ).
The value will be displayed as-is if using raw . The percent using value
and max will be calculated and displayed if using percent | String | raw , percent | raw |
precision | How many decimals should be displayed. | Number | — | 2 |
keep-trailing-zeroes | Truncate or not the trailing zeroes | Boolean | — | true |
# Variables
You can use these variables to customize this component.
Name | Default |
---|---|
$progress-text-color | $white |
This page is open source. Noticed a typo or something's unclear?