## Steps ### Install ``` javascript import { Step, Steps } from 'vant'; Vue.use(Step).use(Steps); ``` ### Usage #### Basic Usage ```html Step1 Step2 Step3 Step4 ``` ```javascript export default { data() { return { active: 1 }; } } ``` #### Custom Style ```html Step1 Step2 Step3 Step4 ``` #### Vertical Steps ```html

【City】Status1

2016-07-12 12:40

【City】Status2

2016-07-11 10:00

【City】Status3

2016-07-10 09:30

``` ### Steps API | Attribute | Description | Type | Default | |------|------|------|------| | active | Active step | `Number` | 0 | | description | Description | `String` | - | | direction | Can be set to `vertical` | `String` | `horizontal` | | active-icon | Active icon name | `String` | `checked` | | active-color | Active step color | `String` | `#07c160` | ### Step Slot | Name | Description | |------|------| | icon | Custom icon |