Table of Contents▼
Steps
The steps component displays a sequence of instructions or actions in a numbered format.
It is useful for tutorials, installation guides, setup instructions, and other step-by-step processes.
Basic Usage
::steps
:::div{title="Install dependencies"}
Run the required installation command.
:::
:::div{title="Configure the project"}
Update the configuration files with your settings.
:::
:::div{title="Start the application"}
Launch the application and verify everything works.
:::
::
Result:
- 1Install dependencies
Run the required installation command.
- 2Configure the project
Update the configuration files with your settings.
- 3Start the application
Launch the application and verify everything works.
Custom Titles
Each step can have its own title using the title property.
::steps
:::div{title="Create an account"}
Register a new account before continuing.
:::
:::div{title="Verify your email"}
Click the verification link sent to your inbox.
:::
::
Result:
- 1Create an account
Register a new account before continuing.
- 2Verify your email
Click the verification link sent to your inbox.
Without a Title
If no title is provided, the component automatically generates a default title.
::steps
:::
This step uses the default title.
:::
::
Result:
- 1Step 1
This step uses the default title.
Markdown Support
Steps support Markdown formatting and other SimpleWiki components.
::steps
:::div{title="Install the package"}
Run:
```bash
npm install example-package
```
:::
:::div{title="Enable the feature"}
::info-box{type="tip"}
Make sure the feature is enabled in your configuration.
::
:::
::
Result:
- 1Install the package
Run:
npm install example-package - 2Enable the feature
Make sure the feature is enabled in your configuration.