Quasar Stepper
A Stepper is an interface for users to show numbered steps or for navigation. It’s usually useful when user has to follow steps to complete a process.
The navigation is handled by Quasar. User is able to go forward, back and to finish the process.
Basic Usage
| 
 | 
Stepper Container Component
Following Vue methods and events apply only to
<q-stepper>container component.
Vue Methods
| Vue Method | Description | 
|---|---|
| reset() | Resets progress | 
| nextStep() | Stepper goes to next step. | 
| previousStep() | Stepper goes to previous step. | 
| finish() | Stepper goes to “complete” state. | 
Vue Properties
| Vue Property | Type | Description | 
|---|---|---|
| back-label | String | Text to display instead of default ‘Back’ | 
| next-label | String | Text to display instead of default ‘Continue’ | 
| finish-label | String | Text to display instead of default ‘Finish’ | 
Vue Events
| Vue Event | Description | 
|---|---|
| @step(stepNumber) | Stepper has gone to a new step. | 
| @finish | Stepper has finished all steps. | 
Step Vue Properties & Methods
Following Vue properties and methods apply only to
<q-step>child component.
Vue Properties
| Vue Property | Type | Description | 
|---|---|---|
| title | String | Step title | 
| ready | Boolean | Can user continue with next step? Default is true. | 
| beforeNext(next) | Function | Function to call before jumping to next step. | 
beforeNext(next)allows you to take some action (like validating some fields) and decide if Stepper can go to the next step (in which casenext()must be called) or not.
Vue Methods
| Vue Method | Description | 
|---|---|
| nextStep() | Stepper goes to next step. | 
| previousStep() | Stepper goes to previous step. | 
| finish() | Stepper goes to “complete” state. | 
Handling Jump to Next Step
There are two options (or you can even combine them).
Boolean Vue Property
Specify the ready Vue property (Boolean) makes Stepper activate or deactivate the Next or Finish button. See step #2 in the demo.
Function Vue Property
Specify beforeNext Vue property by assigning it to a Function. This function is called and it’s up to you the developer to decide if Stepper should go to the next step or not.
Handling Stepper Finish
Use @finish event on <q-stepper> to execute a method when user hits the Finish button.
Coloring
Use one of the Quasar colors from the Color Palette, like primary, secondary, orange, teal as CSS class:
 Quasar
 Quasar