Skip to content
Child component of Stepper

API reference

Properties

PropertyAttributeDescriptionTypeDefault
completecompleteWhen true, completes the step.booleanfalse
descriptiondescriptionSpecifies a description for the component. Displays below the header text.string
disableddisabledWhen true, prevents interaction and decreases the component's opacity.booleanfalse
errorerrorWhen true, the component contains an error that requires resolution from the user.booleanfalse
headingheadingSpecifies the component's heading text.string
iconFlipRtlicon-flip-rtlWhen true, the icon will be flipped when the element direction is right-to-left ("rtl").booleanfalse
messageOverridesOverrides individual strings used by the component.Record<string, unknown> | undefined
selectedselectedWhen true, the component is selected.booleanfalse

Slots

NameDescription
default (unnamed)A slot for adding custom content.

Events

NameDescriptionBehavior
calciteStepperItemSelectFires when the active calcite-stepper-item changes.bubblescomposed

Styles

NameDescription
--calcite-stepper-item-background-color-pressSpecifies the component's background-color when active.
--calcite-stepper-item-header-text-colorSpecifies the component's header text color.
--calcite-stepper-item-header-text-color-hoverSpecifies the component's header text color when hovered or focused.
--calcite-stepper-item-selected-header-text-colorWhen selected, specifies the component's header text color.
--calcite-stepper-item-icon-colorSpecifies the component's icon color.
--calcite-stepper-item-complete-icon-colorWhen complete, specifies the component's icon color.
--calcite-stepper-item-error-icon-colorWhen error, specifies the component's icon and number color.
--calcite-stepper-item-selected-icon-colorWhen selected, specifies the component's icon and number color.
--calcite-stepper-item-description-text-colorSpecifies the component's description and number text color.
--calcite-stepper-item-description-text-color-hoverWhen selected, hovered, or focused, specifies the component's description text color.
--calcite-stepper-bar-gapSpecifies the component's bottom spacing.
--calcite-stepper-bar-fill-colorSpecifies the component's fill color.
--calcite-stepper-bar-fill-color-hoverSpecifies the component's fill color when hovered or focused.
--calcite-stepper-bar-complete-fill-colorWhen complete, specifies the component's fill color.
--calcite-stepper-bar-complete-fill-color-hoverWhen complete, specifies the component's fill color when hovered or focused.
--calcite-stepper-bar-error-fill-colorWhen error, specifies the component's fill color.
--calcite-stepper-bar-error-fill-color-hoverWhen error, specifies the component's fill color when hovered or focused.
--calcite-stepper-bar-selected-fill-colorWhen selected, specifies the component's fill color.

Methods

NameDescriptionSignature
componentOnReadyCreate a promise that resolves once component is fully loaded.componentOnReady(): Promise<this>
setFocusSets focus on the component.setFocus(options?: FocusOptions): Promise<void>

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.