ki-step
@kimen/elements/ki-step- Source
- Agent reference
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
| Attribute | Property | Type | Default | Description |
|---|---|---|---|---|
description | description | string | undefined | – | Optional supporting text displayed below the label. |
href | href | string | undefined | – | Destination for a completed step. Omit for a passive step. |
state | state | "current" | "done" | "error" | "upcoming" | 'upcoming' | The step's progress state. Mark the active step as current. |
Slots
| Slot | Description |
|---|---|
| (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.
| Token | Description |
|---|---|
--ki-typography-family-body | semantic font family for typography family body. |