The DlStepper block component renders a vertical sequence of steps built from named slots. It adapts your content into a structured, scannable flow and integrates with Nuxt UI Stepper under the hood.
Features
- 🪜 step-driven layout using named slots
- ⏳ progress indicator
- 🏷️ automatic titles from slot names
- 🧭 vertical orientation for documentation flows
- 🧩 theme-friendly visual adjustments
- ⚠️ extensive error reporter
Usage
Use ::dl-stepper as a block component with steps defined as named slots in the #step-(N)|Title format. The text after the | becomes the step title; the slot content becomes the description.
Result:
Install dependencies
Run the following command to install packages.
Create config
Add your base configuration file.
Run the app
Start the development server.
With inline code in title
You can include code formatting in titles. The component renders titles with Markdown support.
Result:
Install @vuehouse/cli
Use your preferred package manager.
Update app.config.ts
Add required keys.
With other components inside
DlStepper can display other content components as well. Simply place them inside the step slot to have them rendered.
Result:
With DlCallout
Show some callout inside the step.
Some callout message inside the DlStepper component.
With DlImage
Show some image inside the step.

Progress indicator
This feature might be easily missed, but the DlStepper component can track your progress while working with documentation. Clicking on a step number lets you indicate where you’ve stopped in the process. This is especially helpful when describing a long or complex installation or setup procedure.
Props
Here are the properties you can use with the DlStepper component. Each property should be set on an individual component instance; they do not affect the global configuration. More about defining properties in MDC components you can read here.
| name | type | default | description |
|---|---|---|---|
lazy | boolean | undefined | Whether to lazy load the component. |
Slots
| name | description |
|---|---|
step-(N) | Named slots for steps. Use the |
ui | Dedicated slot for defining the component’s |
Styling
Styling from Markdown
Every DocLayer component can be styled directly within your Markdown file using dedicated slot/property configuration. This allows you to customize the appearance of the component's markup elements without modifying global styles. More about components styling you can read here.
Below you'll find the default set of Tailwind classes for the component's dedicated markup elements.
CSS Variables
Here is a set of CSS variables you can use to customize the appearance of the DlCode component globally. More about theming and styling with CSS variables, you can read here.
