Diggi Docs
Wizard
Ein Wizard teilt eine komplexe Aufgabe in eine Schritt-für-Schritt-Anleitung. So wird die Aufgabe vereinfacht und gleichzeitig wird ein Gefühl von Fortschritt vermittelt. Wizards können als Dialog oder in eine Seite eingebettet verwendet werden. Alternativ können Wizards auch in voller Größe auf einer Seite verwendet werden. Dies ist für Prozesse mit zusätzlichem Inhalt besser geeignet. Der Wizard sollte auf Primary BG oder auf einer Card with Primary BG eingesetzt werden.

Ein Wizard enthält folgende Elemente:

  • Headline
  • Step Indicator
  • Description
  • Image (optional)
  • CTA Buttons

Eigenschaften

NameTypeDefault ValueDescription

hasCancel

boolean

true

Show cancel button in wizard footer

finishButtonLabel

string

undefined

Label for finish button

style

string

""

Additional css styles

handleNext

undefined

undefined

Events

NameDescription

next

next

cancelClicked

finish


Weitere dazugehörige Komponenten

WizardStep

Eigenschaften

NameTypeDefault ValueDescription

id

string

undefined

unique id (within wizard context), will be generated if none given

label

string

undefined

optional label of the StepIndicator

iconName

string

undefined

optional icon of the StepIndicator

disabled

boolean

undefined

Step is disabled if true

isActive

boolean

false

if true the step is active, if several steps are set active on initialization, the last one is taken

isBlocked

boolean

undefined

if true the step is blocked

isValid

boolean

undefined

if false the next button will be disabled

nextLabel

undefined

undefined

showPrevious

undefined

undefined

showNext

undefined

undefined

hasCancel

boolean

undefined

is tertiary button shown for this step

cancelButtonLabel

string

undefined

tertiary button label

cancelButtonIcon

string

undefined

tertiary button icon


Beispiele

Wizard


    Do's and Don'ts

    do