Steps
Create numbered step-by-step procedures with the steps component to guide users through sequential tasks, tutorials, and setup workflows.
Use steps to display a series of sequential actions or events. You can add as many steps as needed.
First Step
These are instructions or content that only pertain to the first step.
Second Step
These are instructions or content that only pertain to the second step.
Third Step
These are instructions or content that only pertain to the third step.
<Steps>
<Step title="First Step">
These are instructions or content that only pertain to the first step.
</Step>
<Step title="Second Step">
These are instructions or content that only pertain to the second step.
</Step>
<Step title="Third Step">
These are instructions or content that only pertain to the third step.
</Step>
</Steps>Steps properties
childrenReactElement<StepProps>[]requiredA list of Step components.
titleSizestringdefault: pThe size of the step titles. One of p, h2, h3, and h4.
Individual step properties
titlestringrequiredThe title is the primary text for the step and shows up next to the indicator.
childrenstring | ReactNodeThe content of a step either as plain text or components.
iconstringThe icon to display.
Options:
- Font Awesome icon name, if you have the
icons.libraryproperty set tofontawesomein yourdocs.json - Lucide icon name, if you have the
icons.libraryproperty set tolucidein yourdocs.json - Tabler icon name, if you have the
icons.libraryproperty set totablerin yourdocs.json - URL to an externally hosted icon
- Path to an icon file in your project
- SVG code wrapped in curly braces
For custom SVG icons:
- Convert your SVG using the SVGR converter.
- Paste your SVG code into the SVG input field.
- Copy the complete
<svg>...</svg>element from the JSX output field. - Wrap the JSX-compatible SVG code in curly braces:
icon={<svg ...> ... </svg>}. - Adjust
heightandwidthas needed.
iconTypestringThe Font Awesome icon style. Only used with Font Awesome icons.
Options: regular, solid, light, thin, sharp-solid, duotone, brands.
stepNumbernumberThe number of the step.
titleSizestringdefault: pThe size of the step titles. One of p, h2, h3, and h4.
idstringA custom ID for the step, used for anchor linking and table of contents navigation.
noAnchorbooleandefault: falseWhether to hide the anchor link for the step.