Dark Light
System
Default LBBW Jira Confluence Source Code
Share
Playground

Stepper Content

<afp-stepper-content> Since 1.5.0 stable This component uses the light DOM, so its markup and styles are part of the regular document flow.

A component to hold the content associated with a stepper item in a stepper. Displays its content when its stepper item is the active step.

Active Step Content

This content is displayed because the step content is active.

Examples #

Index Matching #

The stepper automatically matches content to steps by their index order. When no name attribute is provided, the content elements are associated with steps sequentially:

Content for step 1 Content for step 2

Named Matching #

For explicit control over which content displays for each step, use the name attribute on stepper-content and the content attribute on stepper-item:

Review your information Enter your details

Properties

Learn more about properties.

Name Description Reflects
name
The stepper content's name.
Type string
active
When true, the stepper content will be shown.
Type boolean
Default false

Slots

Learn more about slots.

Name Description
default
The default slot.

CSS Parts

Learn more about CSS Parts.

Name Description Selector
base
The container for the stepper content.
::part(base)

Importing

Using the bundle is the recommended method to include components. If you’d rather handle imports manually, you can use the code examples below.

import '@afp-design-system/core/dist/components/stepper-content/stepper-content.js';
Share
Create a link with a predefined theme that is automatically applied when the generated link is opened. Default LBBW Presentation Mode
Abort Copy Link