Use the
Stepscontainer with one or moreStepcomponents. Each step has atitleand optional content.
Basic Usage
First Step
This is the content of the first step
Second Step
This is the content of the second step
Third Step
This is the content of the third step
Code:
<Steps>
<Step title="First Step">
This is the content of the first step
</Step>
<Step title="Second Step">
This is the content of the second step
</Step>
<Step title="Third Step">
This is the content of the third step
</Step>
</Steps>
You can refer to the example to add any number of steps. The code within the steps follows Markdown syntax.
Custom Icons
The default icons are Arabic numerals. Icons can be set according to the requirements.
First Step
This is the content of the first step
Second Step
This is the content of the second step
Third Step
This is the content of the third step
Code:
<Steps>
<Step title="First Step" icon="sun">
This is the content of the first step
</Step>
<Step title="Second Step" icon="moon">
This is the content of the second step
</Step>
<Step title="Third Step" icon="star">
This is the content of the third step
</Step>
</Steps>
Configuration options
title Define step title
icon Define icon. For methods, refer to icon