# Progress ### Install ```js import Vue from 'vue'; import { Progress } from 'vant'; Vue.use(Progress); ``` ## Usage ### Basic Usage Use 'percentage' prop to set current progress ```html ``` ### Stroke Width ```html ``` ### Inactive ```html ``` ### Custom Style Use `pivot-text` to custom text,use `color` to custom bar color ```html ``` ## API ### Props | Attribute | Description | Type | Default | |------|------|------|------| | percentage | Percentage | *number \| string* | `0` | | stroke-width `v2.2.1` | Stroke width | *number \| string* | `4px` | | color | Color | *string* | `#1989fa` | | track-color `v2.2.9` | Track color | *string* | `#e5e5e5` | | pivot-text | Pivot text | *string* | percentage | | pivot-color | Pivot text background color | *string* | inherit progress color | | text-color | Pivot text color | *string* | `white` | | inactive | Whether to be gray | *boolean* | `false` | | show-pivot | Whether to show text | *boolean* | `true` |