Skip to content
Navigation

Stepper

server29 kB
@stellaria/nebula-webStepperProps

Preview

Props

12
PropTypeDefault

active

required
number

—

allowNextStepsSelect

boolean

—

children

ReactNode

—

className

string

—

color

ColorExtended"primary"

labels

Partial<StepperLabels>

—

onStepClick

((step: number) => void)

—

orientation

StepperOrientation

—

rootClassName

string

—

size

Size

—

steps

required
readonly StepperStep[]

—

variant

StepperVariant"filled"

Slot props

7

Each one spreads over an inner element, so you can restyle a region without forking the component.

PropTypeDefault

bodyProps

Label and description column.

BoxSlotProps

—

bulletProps

The step bullet. Its size comes from `size`; the slot composes with it.

BoxSlotProps

—

descriptionProps

The description, when the step has one.

TextSlotProps

—

itemProps

Every step. It carries `data-state`, which is where its tint comes from.

BoxSlotProps

—

labelProps

The step label.

TextSlotProps

—

listProps

The list of steps.

BoxSlotProps

—

stepProps

The pressable area of the step. It is a button only on the steps `onStepClick` can activate — reachable, not disabled and not the current one; on the rest it is a span.

BoxSlotProps

—

Also accepts

On top of its own props, this component forwards these groups.

Style props · 127