Items can be created / modified / deleted and will always keep the defined order.
You can also use v-if
to show (or not) a Step Item.
# Dynamic
Items can be created / modified / deleted and will always keep the defined order.
You can also use v-if
to show (or not) a Step Item.
# Icons
# Sizes
# Types
Name | Description | Type | Values | Default |
---|---|---|---|---|
v-model | Binding value, step index | Number | — | 0 |
animated | Steps have slide animation | Boolean | — | true |
type | Default Type/Style for the steps, optional | String | is-white , is-black , is-light ,
is-dark , is-primary , is-info , is-success ,
is-warning , is-danger ,
and any other colors you've set in the $colors list on Sass | — |
size | Size of the step, optional | String | is-small , is-medium , is-large | — |
destroy-on-hide | Destroy stepitem on hide | Boolean | — | false |
icon-pack | Icon pack to use for the navigation | String | — | mdi |
icon-prev | Icon to use for navigation button | String | — | chevron-left |
icon-next | Icon to use for navigation button | String | — | chevron-right |
has-navigation | Next and previous buttons below the component. You can use this property if you want to use your own custom navigation items. | Boolean | — | true |
aria-page-label | Accessibility label for the page link. If passed, this text will be prepended to the number of the page. | String | — | — |
aria-current-label | Accessibility label for the current page link. If passed, this text will be prepended to the current page. | String | — | — |
Name | Description | Type | Values | Default |
---|---|---|---|---|
label | Step label | String | — | — |
type | Default Type/Style for the step, optional
This will override parent type. Could be used to set a completed step to
is-success for example | String | is-white , is-black , is-light ,
is-dark , is-primary , is-info , is-success ,
is-warning , is-danger ,
and any other colors you've set in the $colors list on Sass | — |
icon | Icon name | String | — | — |
icon-pack | Icon pack to use | String | — | mdi |
clickable | Item can be used directly to navigate. If undefined, previous steps are clickable while the others are not. | Boolean | — | — |
visible | Item is visible | Boolean | - | true |
You can use these variables to customize this component.
Name | Default |
---|---|
$steps-maker-default-color | $grey-light |
$steps-marker-default-border | .2em solid #fff |
$steps-default-color | $grey-lighter |
$steps-previous-color | $primary |
$steps-active-color | $primary |
$steps-divider-height | .2em |
This page is open source. Noticed a typo or something's unclear?