1e41f4b71Sopenharmony_ci# stepper-item 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci> **NOTE** 4e41f4b71Sopenharmony_ci> This component is supported since API version 5. Updates will be marked with a superscript to indicate their earliest API version. 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ciThe **\<stepper-item>** component displays a step in the step navigator. This component is the child component of **\<stepper>**. 7e41f4b71Sopenharmony_ci 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## Required Permissions 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciNone 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ci## Child Components 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ciSupported 17e41f4b71Sopenharmony_ci 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci## Attributes 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ciIn addition to the [universal attributes](js-components-common-attributes.md), the following attributes are supported. 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci| Name| Type| Mandatory| Description| 24e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | 25e41f4b71Sopenharmony_ci| label | Label | No| Button text at the bottom of the customized step navigator. Dynamic modification is not supported. If this attribute is not set, **BACK** and **NEXT** will be used by default as button text in case the system language is not Chinese. For the first step, there is no previous button. For the last step, the text on the next button is **START** for non-Chinese languages by default.| 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci**Table 1** label 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci| Name| Type| Default Value| Description| 30e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | 31e41f4b71Sopenharmony_ci| prevLabel | string | - | Text content of the previous button at the bottom of the step navigator.| 32e41f4b71Sopenharmony_ci| nextLabel | string | - | Text content of the next button at the bottom of the step navigator.| 33e41f4b71Sopenharmony_ci| status | string | normal | Initial status of the current step in the step navigator. Available values are as follows:<br>- **normal**: The right button is clickable and can navigate users to the next step when it is clicked.<br>- **disabled**: The right button is grayed out and unavailable.<br>- **waiting**: The right button is not displayed, and a progress bar is displayed instead.| 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci 36e41f4b71Sopenharmony_ci## Styles 37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ciIn addition to the [universal styles](js-components-common-styles.md), the following styles are supported. 39e41f4b71Sopenharmony_ci 40e41f4b71Sopenharmony_ci| Name| Type| Default Value| Mandatory| Description| 41e41f4b71Sopenharmony_ci| -------- | -------- | -------- | -------- | -------- | 42e41f4b71Sopenharmony_ci| color | <color> | - | No| Text color.| 43e41f4b71Sopenharmony_ci| font-size | <length> | - | No| Text size.| 44e41f4b71Sopenharmony_ci| allow-scale | boolean | true | No| Whether the font size changes with the system's font size settings.| 45e41f4b71Sopenharmony_ci| font-style | string | normal | No| Text font style. Available values are as follows:<br>- **normal**: standard font style<br>- **italic**: italic font style| 46e41f4b71Sopenharmony_ci| font-weight | number\|string | normal | No| Text font weight. The number value must be an exact multiple of 100 ranging from 100 to 900. The default value is 400. A larger value indicates a bigger weight. Available values of the string type are **lighter**, **normal**, **bold**, or **bolder**.| 47e41f4b71Sopenharmony_ci| text-decoration | string | none | No| Text decoration. Available values are as follows:<br>- **underline**: An underline is used.<br>- **line-through**: A strikethrough is used.<br>- **none**: The standard text is used.| 48e41f4b71Sopenharmony_ci| font-family | string | sans-serif | No| Font family, in which fonts are separated by commas (,). Each font is set using a font name or font family name. The first font in the family or the specified [custom font](js-components-common-customizing-font.md) is used for the text.| 49e41f4b71Sopenharmony_ci 50e41f4b71Sopenharmony_ci> **NOTE** 51e41f4b71Sopenharmony_ci> - Height and width styles are not supported. The width of each item is the same as that of its container. The height of each item is the difference between the container height and the bottom button height. 52e41f4b71Sopenharmony_ci> 53e41f4b71Sopenharmony_ci> - The **posit** style is not supported. 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ci## Events 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ciIn addition to the [universal events](js-components-common-events.md), the following events are supported. 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci| Name| Parameter| Description| 61e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 62e41f4b71Sopenharmony_ci| appear | - | Triggered when this step is displayed.| 63e41f4b71Sopenharmony_ci| disappear | - | Triggered when this step disappears.| 64e41f4b71Sopenharmony_ci 65e41f4b71Sopenharmony_ci 66e41f4b71Sopenharmony_ci## Method 67e41f4b71Sopenharmony_ci 68e41f4b71Sopenharmony_ciThe [universal methods](js-components-common-methods.md) are supported. 69e41f4b71Sopenharmony_ci 70e41f4b71Sopenharmony_ci 71e41f4b71Sopenharmony_ci## Example 72e41f4b71Sopenharmony_ci 73e41f4b71Sopenharmony_ciFor details, see **Example** in [stepper](js-components-container-stepper.md). 74