# Progress ### Install ``` javascript 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 | Version | |------|------|------|------|------| | inactive | Whether to be gray | *boolean* | `false` | - | | percentage | Percentage | *number* | `0` | - | | stroke-width | Stroke width | *string \| number* | `4px` | 2.2.1 | | show-pivot | Whether to show text | *boolean* | `true` | - | | color | Color | *string* | `#1989fa` | - | | pivot-text | Text | *string* | percentage | - | | pivot-color | Text background color | *string* | inherit progress color | - | | text-color | Text color | *string* | `#fff` | - |