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
# Vertical
Name | Description | Type | Values | Default |
---|---|---|---|---|
v-model | Binding value, step index. Passing undefined will show the first step | Number, String | — | undefined |
animated | Steps have slide animation | Boolean | — | true |
animateInitially | Apply animation on the initial render | Boolean | — | undefined |
animation | Custom animation (transition name) | String | — | slide-next slide-prev |
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 |
vertical | Display the steps vertically | Boolean | — | false |
position | Position of the vertical step, optional | String | is-right | — |
label-position | Position of the marker label, optional | String | bottom , right , left | bottom |
rounded | Rounded step markers | Boolean | — | true |
mobile-mode | How Steps will be displayed for mobile user | String | minimalist : Only the active Step is displayed,
compact : Step label is displayed only for the active,
null : Will keep the same behavior as desktop | minimalist |
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 |
---|---|---|---|---|
step | Step marker content (when there is no icon) | String | Number | — | — |
label | Step label | String | — | — |
value | Step identifier | String | — | Vnode uid |
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 |
headerClass | The classes to add to the step label container | String, Array, Object | - | - |
You can use these variables to customize this component.
Name | Default |
---|---|
$steps-items-focused-outline | none |
$steps-details-background-color | $body-background-color |
$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 |
$steps-vertical-padding | 1em 0 |
$steps-mobile-max-width | $tablet |
$steps-colors | $colors |
This page is open source. Noticed a typo or something's unclear?