Mixins / foldkit-mixins-ui

Step

interface · packages/mixins-ui/src/steps.ts:47

interface Step {
  readonly title: string
  readonly state?: StepsState | undefined
  readonly trailing?: Html | undefined
  readonly description?: string | undefined
  readonly icon?: Html | undefined
  readonly content?: Html | undefined
}

Members

Step.title

property · packages/mixins-ui/src/steps.ts:48

readonly title: string

Step.state

property · packages/mixins-ui/src/steps.ts:54

readonly state?: StepsState | undefined

Overrides the state current gives this step: a later step already complete, the one being taken loading, or one that errored. Its aria-current still follows current.

Step.trailing

property · packages/mixins-ui/src/steps.ts:56

readonly trailing?: Html | undefined

Drawn at the end of the step's row: a time, a badge.

Step.description

property · packages/mixins-ui/src/steps.ts:57

readonly description?: string | undefined

Step.icon

property · packages/mixins-ui/src/steps.ts:59

readonly icon?: Html | undefined

Drawn in the marker in place of the number, until the step is complete.

Step.content

property · packages/mixins-ui/src/steps.ts:64

readonly content?: Html | undefined

Drawn under the step, beside the line to the next, in a vertical stepper: the form or the details of that step.