eds-steps-v2

Explore the Interactive Component

Use the playground below to experiment with the component. Click the button to view the full Storybook deployment for additional examples and configurations.

See It in Use with Code

Check out this practical implementation of component.

Plain HTML

Steps - Slot Content

The eds-steps-v2 component lets you override the content for each step and provide your own custom content—whether that’s another UI component or just plain text.

Another example eds-steps in eds-steps-v2

Properties

PropertyAttributeDescriptionTypeDefault
backLabelback-labelstring'Back'
disableNextdisable-nextDisable Next/Finish (boolean or per-step boolean[]). Also accepts a JSON array string.boolean | boolean[] | stringfalse
finishLabelfinish-labelstring'Finish'
headingLevelheading-levelHeading level for titles"h3" | "h4" | "h5"'h4'
imageSrcimage-srcOptional illustrationstringundefined
imageWidthimage-widthnumberundefined
messagemessagestringundefined
nextLabelnext-labelLabelsstring'Next'
orientationorientationOrientation (applies to linear visuals)"horizontal" | "vertical"'vertical'
showFinishshow-finishShow or hide the finish button on the last stepbooleantrue
stepsstepsJSON string or array of steps: { title, content? }Step[] | string[]
themethemeVisual theme for the steps component. - ‘default’: Grey step circles with white text - ‘brand’: Brand green step circles with black text (CTA style)"brand" | "default"'default'
typetypeStepper mode"linear" | "static"'static'

Events

EventDescriptionType
backFired before going back, with the target step index.CustomEvent<number>
finishedFired when user clicks Finish on the last step.CustomEvent<void>
nextFired before advancing, with the target step index.CustomEvent<number>
stepFired whenever the active step changes. Payload: current step index.CustomEvent<number>

Dependencies

Depends on

Graph

graph TD;
  eds-steps-v2 --> eds-icon-wrapper
  eds-steps-v2 --> eds-img
  eds-steps-v2 --> eds-button
  eds-button --> eds-icon-wrapper
  style eds-steps-v2 fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS