Skip to content

Stepper Item

Child component of Stepper

API reference

Properties

PropertyAttributeDescriptionTypeDefault
completecompleteWhen present, the step has been completed.booleanfalse
descriptiondescriptionA description for the component. Displays below the header text.string
disableddisabledWhen present, interaction is prevented and the component is displayed with lower opacity.booleanfalse
errorerrorWhen present, the component contains an error that requires resolution from the user.booleanfalse
headingheadingThe component header text.string
iconFlipRtlicon-flip-rtlWhen present, the icon will be flipped when the element direction is right-to-left ("rtl").booleanfalse
messageOverridesUse this property to override individual strings used by the component.Record<string, unknown>
selectedselectedWhen present, 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-colorSpecifies the component's header text color when selected.
--calcite-stepper-item-icon-colorSpecifies the component's icon color.
--calcite-stepper-item-complete-icon-colorSpecifies the component's icon color when complete.
--calcite-stepper-item-error-icon-colorSpecifies the component's icon and number color when in error.
--calcite-stepper-item-selected-icon-colorSpecifies the component's icon and number color when selected.
--calcite-stepper-item-description-text-colorSpecifies the component's description and number text color.
--calcite-stepper-item-description-text-color-hoverSpecifies the component's description text color when hovered, focused or selected.
--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-colorSpecifies the component's fill color when complete.
--calcite-stepper-bar-complete-fill-color-hoverWhen the component is complete, specifies the component's fill color when hovered or focused.
--calcite-stepper-bar-error-fill-colorSpecifies the component's fill color when in error.
--calcite-stepper-bar-error-fill-color-hoverWhen the component contains an error, specifies the component's fill color when hovered or focused.
--calcite-stepper-bar-selected-fill-colorSpecifies the component's fill color when selected.

Methods

NameDescriptionSignature
componentOnReadyCreate a promise that resolves once component is fully loaded.componentOnReady(): Promise<void>
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.