Stepper — Playground

px
DetailsProject basics 2 TeamInvite collaborators 3 ReviewConfirm settings
orientation
size
State
html.html
<kui-stepper [(currentIndex)]="currentIndex">
  <kui-step label="Details" description="Project basics" />
  <kui-step label="Team" description="Invite collaborators" />
  <kui-step label="Review" description="Confirm settings" />
</kui-stepper>
NameTypeDefaultDescription
[(currentIndex)]number0Zero-based active step index.
orientation'horizontal' | 'vertical' | undefinedundefinedStep list layout direction. Falls back to defaults.stepper.orientation, then horizontal.
size'sm' | 'md' | 'lg' | undefinedundefinedCircle size and label scale. Falls back to defaults.stepper.size, then the root size, then md.
linearboolean | undefinedundefinedWhen true, only completed steps can be clicked to go back; when false, upcoming steps can be clicked to jump forward. Falls back to defaults.stepper.linear, then true.
compactboolean | undefinedundefinedShows step circles (dots) without labels or descriptions. Falls back to defaults.stepper.compact, then false.
kui-step.labelstring''Primary step label.
kui-step.descriptionstring''Optional secondary line below the label.
kui-step.hasErrorbooleanfalseMarks the step as errored and disables later steps.
kui-step.disabledbooleanfalseForces a step to render disabled.
--kui-stepper-connector-colorCSS custom property-Connector line colour.
--kui-stepper-connector-color-doneCSS custom property-Connector line colour after a completed step.
--kui-stepper-circle-sizeCSS custom property-Step circle diameter.
--kui-stepper-fg-upcomingCSS custom property-Foreground of an upcoming step.
--kui-stepper-fg-currentCSS custom property-Foreground of the current step.
--kui-stepper-fg-doneCSS custom property-Foreground of a completed step.
--kui-stepper-fg-errorCSS custom property-Foreground of an errored step.
KuiStepperOptionsinterface-Shape of defaults.stepper: size, orientation, linear and compact.

Inputs verified against @kikita-labs/ui v2.0.0 public typings.