ngx-prompt-kit

Steps

A collapsible numbered/bulleted timeline for tool traces or multi-step agent runs. Vertical bar marks the active section. Built on spartan's brain collapsible.

Examples

Default open

Steps default to expanded; click the trigger row to collapse.

Resolved the package manifest.Walked the dependency graph.Wrote the lockfile to disk.

Initially collapsed

Pass [defaultOpen]=false to start collapsed.

Read inbox.txtTokenized into 5 messagesGenerated 1024-d embeddingsInserted rows into vectors tableRefreshed the HNSW index

Installation

Add the steps component (and the cn() utility) to your project.

ng generate ngx-prompt-kit:steps

Component API

PkSteps

PropTypeDefaultDescription
openmodel<boolean> — Two-way bound open state. Leave unbound for uncontrolled.
defaultOpenboolean true Initial state when uncontrolled.
classstring — Extra classes for the wrapper.

PkStepsTrigger

PropTypeDefaultDescription
leftIconboolean false Reserve space for a left-icon slot (project via [leftIcon] attribute).
swapIconOnHoverboolean true Swap leftIcon for the chevron on hover.
classstring — Extra classes for the trigger button.

PkStepsContent

PropTypeDefaultDescription
classstring — Extra classes for the collapsing wrapper.

PkStepsItem

PropTypeDefaultDescription
classstring — Extra classes for the item.