Components
BaseFormStepItem
One step of BaseFormSteps: indicator, title, status text and connector.
components/ui/form/BaseFormStepItem.vue
Internal part
This is an internal part of BaseFormSteps. You normally use it through BaseFormSteps, but it is documented so you can customise or reuse it.
API
Props
Name | Type | Default | Description |
|---|---|---|---|
titlerequired | string | — | The step name. |
status-textrequired | string | — | The line under the title, such as “2 of 4 completed”. |
staterequired | FormStepState | — | complete, current, error or pending. |
colorrequired | string | — | The colour of the indicator for that state. |
text-classrequired | string | — | The class of the title for that state. |
icon | string | — | The icon of the step. |
overline | string | — | A small label above the title, such as “Step 2”. |
is-current | boolean | — | Marks the current step. |
is-last | boolean | — | Hides the connector after the last step. |
clickable | boolean | — | Lets the user jump to the step. |
progress | number | 0 | Fill of the connector, from 0 to 100. |
connector-color | string | "primary" | The colour of the connector. |
aria-label | string | — | The accessible name of the step. |
aria-current | "location" | "step" | — | step or location for the current step. |
orientation | FormStepsOrientation | "vertical" | horizontal or vertical. |
Events
Name | Payload | Description |
|---|---|---|
@select | — | The user clicked the step. |