Skip to content

Progress

te-progress is a horizontal progress bar. Values outside 0100 are clamped.

Variants

vue
<te-progress :value="35" type="primary" />
<te-progress :value="60" type="success" />
<te-progress :value="80" type="warning" />
<te-progress :value="95" type="danger" />

Sizes and value label

The percentage is only rendered at large, where there is room for it.

vue
<te-progress :value="45" size="small" />
<te-progress :value="45" size="medium" />
<te-progress :value="45" size="large" show-value />

Props

PropTypeDefaultDescription
valuenumber— (required)Percentage, clamped to 0100.
type'normal' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'pink' | 'purple' | 'light' | 'dark''primary'Colour variant.
size'small' | 'medium' | 'large''medium'Bar height.
showValuebooleanfalsePrints the percentage inside the bar. Needs size="large".

Released under the MIT License.