Skip to content

Options overview

The progress is the only required property, and you are ready to go with just following line:

html
<ve-progress :progress="progress" />

Also make sure to check slots

PropTypeValuesDefault
progressNumber[-100, 100]
sizeNumber>=0200
lineString"round | square | butt""round"
thicknessNumber | String>=0 as Number or percent value as String"5%"
emptyThicknessNumber | String>=0 as Number or percent value as String"5%"
lineModeString"center | out | out-over | in | in-over | top | bottom [offset]""center"
linePositionString"center | out | in [offset]""center"
emptyLinePositionString"center | out | in [offset]""center"
colorString | Objectany color as String or Object to specify gradient (see details)"#3f79ff"
colorFillString | Objectsame as color"transparent"
emptyColorString | Objectsame as color"#e6e9f0"
hideLegendBooleantrue
legendNumber | Stringany number, accepts a . or "," as decimals delimiter and simple formatting
loadingBooleanfalse
determinateBooleanfalse
legendFormatterFunction(props: object) => string Function returning formatted value as string
reverseBooleanfalse
angleNumberany Number-90
halfBooleanfalse
noDataBooleanfalse
dashString"[strict] count spacing"
dotString | Number | ObjectAccepts size, color and other styles as Number, descriptive string "size [color]" or object {size [, backgroundColor, widht, borderRadius ...]}0
animationString"default | rs | loop | reverse | bounce [duration delay]""default 1000 400"
loaderObject{ [thickness, color, lineMode, line, opacity ]}
fontColorStringany valid CSS value"gray"
fontSizeStringany valid CSS value"1rem"
legendClassStringany
emptyColorFillString | Objectsame as color"transparent"
gapNumberany Number that defines the gap between multiple circles in pixel0
dataArraydefines multiple circles, takes as values Objects with almost all props defined above

Released under the MIT License.