Skip to content
On this page

VProgress

Progress circular, generally used to communicate data intuitively to users

Import

js
import { VProgress } from 'vui-vc-next'

app.component(VProgress.name, VProgress)

API

Progress Circular Props

PropsDescriptionTypeDefaultNote
valueprogress valueNumber00-1
sizecircle sizeNumber70unit px
widthcircle stroke widthNumber-unit px
colorcircle stroke highlight colorString#fc9153-
border-colorcircle stroke colorStringrgba(0, 0, 0, .1)-
fillcircle fill colorStringtransparent-
linecapshape of endStringroundround, butt
rotate-Number0-
is-animatedWhether show animation when value changesBooleanfalse-
durationtransition durationNumber1000unit ms

Progress Circular Slots

default

slot inside circle, generally used to add text

defs

slot inside circle svg, generally used to add defs, use elements, etc