## Progress ### Install ``` javascript import { Progress } from 'vant'; Vue.component(Progress.name, Progress); ``` ### Usage #### Basic Usage Use 'percentage' prop to set current progress :::demo Basic Usage ```html ``` ::: #### Inactive :::demo Inactive ```html ``` ::: #### Custom Style Use `pivot-text` to custom text,use `color` to custom bar color :::demo Custom Style ```html ``` ::: ### API | Attribute | Description | Type | Default | Accepted Values | |-----------|-----------|-----------|-------------|-------------| | inactive | Whether to be gray | `Boolean` | `false` | - | | percentage | Percentage | `Number` | `false` | `0-100` | | showPivot | Whether to show text | `Boolean` | `true` | - | | pivotText | Text | `String` | percentage | - | | color | Color | `String` | `#38f` | hexvalue | | textColor | Text color | `String` | `#fff` | hexvalue |