Steps
Use the Steps component to create a multi-step navigation bar that guides users through a process. You can assign a different task to each step to suit your use case.
Example
Completing a user registration form in multiple steps.
Step 1: Add the component
-
Create a web application. For more information, see Create a web application.
-
In the web application editor, click the component icon
on the far left. - Above the component list to the left of the canvas, enter Steps to find the component, and drag it to the canvas.
For more information about adding components, see Add a component.
(Optional) Step 2: Configure the data source
If you want the steps to switch automatically based on a data source, follow the instructions in this section.
- In the style panel on the right, click data source and then click Configure Data Source.
- On the Configure Data Source page, select a data source type and complete the configuration.
- Click OK.
Step 3: Configure the style
- In the style panel on the right, configure the component's style options.
Style Description Step Settings Select a step to display its content by default. You can add, edit, and delete steps. Drag the icon
to reorder the steps.Select Allow Click to Switch to let users manually switch between steps during preview or at runtime.
step style Configure the type, orientation, background color, label font size and color, and the styles for normal and selected steps. -
Adjust the component's position on the page. For more information about general component style settings, see Configure styles.
Step 4: Configure interactions
- Select the component's interaction tab to configure events and actions. For detailed instructions, see Configure interactions.
This component supports the value change and click events. The component's value is the current step number. For example, the value for Step 2 is 2.
- Click Preview in the upper-right corner of the page to view or debug the component's data.