Skip to content
Kimenpre-v1documentation home
Color scheme

ki-step

Place ki-step directly inside ki-stepper and put its label in the default slot. The state defaults to upcoming. Use done for completed work, current for the active step and error for a step that needs attention.

An href on a completed step turns its label into a link. Use description for supporting text that appears below the label.

API reference

When to use: Place directly inside ki-stepper in task order. Its default slot is the step label and its properties describe the step to the owning list.

When not to use: Standalone or with interactive content in the label. A completed step can make the label itself a link.

Properties & attributes

AttributePropertyTypeDefaultDescription
descriptiondescriptionstring | undefined–Optional supporting text displayed below the label.
hrefhrefstring | undefined–Destination for a completed step. Omit for a passive step.
statestate"current" | "done" | "error" | "upcoming"'upcoming'The step's progress state. Mark the active step as current.

Slots

SlotDescription
(default)The visible label. Use text or passive inline markup.

CSS custom properties

The public styling contract of ki-step: reassign these tokens at :root or on a subtree — never override internals.

TokenDescription
--ki-typography-family-bodysemantic font family for typography family body.