Horizontal steps
EuiStepsHorizontal should be used when forms/setup instructions can and should be split into multiple pages. Each step should correspond to an individual page of form elements, using the
status
key to denote the user's progress.For horizontal steps, the status
key defaults to "incomplete"
and the default filled styling is reserved for indicating "current"
status.
Use the size
property to generate smaller step circles.
Props
EuiStepsHorizontal
Prop | Description and type | Default value |
---|---|---|
Prop steps# | Description and type An array of Omit<EuiStepHorizontalProps, "step">[] | Default value Required |
Prop size# | Description and type Type: "xs" | "s" | "m" | Default value m |
Prop className# | Description and type Type: string | Default value |
Prop aria-label# | Description and type Defines a string value that labels the current element. string | Default value |
Prop data-test-subj# | Description and type Type: string | Default value |
Prop css# | Description and type Type: Interpolation<Theme> | Default value |
EuiStepHorizontal
Prop | Description and type | Default value |
---|---|---|
Prop onClick# | Description and type Type: MouseEventHandler<HTMLButtonElement> | Default value Required |
Prop disabled# | Description and type Makes the whole step button disabled. boolean | Default value |
Prop step# | Description and type The number of the step in the list of steps number | Default value 1 |
Prop title# | Description and type Type: string | Default value |
Prop status# | Description and type Visual representation of the step number indicator. "warning" | "danger" | "disabled" | "current" | "loading" | "incomplete" | "complete" | Default value incomplete |
Prop size# | Description and type Type: "xs" | "s" | "m" | Default value m |
Prop className# | Description and type Type: string | Default value |
Prop aria-label# | Description and type Defines a string value that labels the current element. string | Default value |
Prop data-test-subj# | Description and type Type: string | Default value |
Prop css# | Description and type Type: Interpolation<Theme> | Default value |