Skip to main content

Stepper

shadow

The Stepper component displays the progress through numbered steps. It provides a wizard-like workflow. Steppers show progress through a sequence of numbered steps.

Basic use

The sample represents the stepper in its basic flow with default navigation between steps.

Disabled (Deactivated) steps

The sample blocks some steps of the stepper, so you can see how the component communicates unavailable navigation.

Custom buttons

The demo replaces the default control with custom buttons, which is useful for more complex forms or wizard flow.

When to use

Use wje-stepper when the user enters a value, selects options, or performs an action on a form.

When not to use

Don't just use it as a visual decorative element without interaction. In this case, give priority to the presentation components.

Accessibility

Always link the component to the description (label/aria-label), keep keyboard control, and display a clear message on validation errors.

  • Keep validation rules and error states consistent across the entire form.
  • For asynchronous operations, display the load status or disabled status.
  • For complex forms, prefer smaller sections and immediate feedback.

Attributes and properties

active

PopisUrčuje, či je komponent aktívny.
Atribútactive
Typstring
Predvolené-

done

PopisNastavuje textovú hodnotu uloženú vo voľbe done.
Atribútdone
Typstring
Predvolené-

startIndex

PopisNastavuje start index, ktorý používa logika stavu komponentu.
Atribútstart-index
Typnumber|string
Predvolené-

Events

Pre tento komponent nie sú dostupné žiadne udalosti.

Methods

PopisSpustí metódu navigate na vykonanie logiky komponentu a aktualizáciu jeho stavu.
Signatúra(direction: number) => void

goToStep

PopisSpustí metódu goToStep na vykonanie logiky komponentu a aktualizáciu jeho stavu.
Signatúra(stepIndex: number) => void

CSS shadow parts

NázovPopis
nativeŠtýluje koreňovú shadow časť komponentu.
headerŠtýluje shadow časť header.
contentŠtýluje rozbaľovaný obsahový panel.

CSS custom variables

Pre tento komponent nie sú dostupné žiadne vlastné CSS vlastnosti.

Slots

NázovPopis
defaultPredvolený slot pre hlavný obsah komponentu.