Steps

Guide the user to complete tasks in accordance with the process.

Its steps can be set according to the actual application scenario and the number of the steps can't be less than 2.

Basic usage

Simple step bar.

Set active attribute with Number type, which indicates the index of steps and starts from 0.

Step bar with description

There is description for each step.

Step bar with icon

A variety of custom icons can be used in the step bar.

The icon is set by the icon property. The types of icons can be found in the document for the Icon component. In addition, you can customize the icon through a named slot.

Vertical step bar

Vertical step bars.

You only need to set the vertical in the b-steps element.

Steps Attributes

NameDescriptionTypeAccepted ValuesDefault
spacethe spacing of each step, will be responsive if omitted. Supports percentage.number / string
verticaldisplay in vertical directionbooleanfalse
activecurrent activation stepnumber0

Steps Slots

NameDescriptionSubtags
-customize default contentStep

Step Attributes

NameDescriptionTypeAccepted ValuesDefault
titlestep titlestring
descriptionstep descriptionstring
iconstep custom icon. Icons can be passed via named slot as wellstring / Component
statuscurrent status. It will be automatically set by Steps if not configured.stringwait / process / finish / error / success

Step Slots

NameDescription
iconcustom icon
titlestep title
descriptionstep description
Last Updated:
Contributors: Tam Mai