# StepProps (@salmonui/navigation/stepper)

> The StepProps interface of @salmonui/navigation/stepper.

Canonical: https://salmonui.dev/docs/reference/navigation/stepper/StepProps

```ts
import type { StepProps } from '@salmonui/navigation/stepper';
```

Entry index: https://salmonui.dev/docs/reference/navigation/stepper (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/stepper.md).

## Reference

Kind: interface

```ts
interface StepProps extends Omit<HTMLAttributes<HTMLLIElement>, 'children'> {
    label?: ReactNode;
    description?: ReactNode;
    icon?: ReactNode;
    optional?: boolean | undefined;
    disabled?: boolean | undefined;
    invalid?: boolean | undefined;
    status?: StepStatus | undefined;
    children?: ReactNode;
    render?: ((props: StepTriggerProps) => ReactElement) | undefined;
    ref?: Ref<HTMLLIElement> | undefined;
}
```

Members (10):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `label` | `label?: ReactNode;` | optional |  |
| `description` | `description?: ReactNode;` | optional |  |
| `icon` | `icon?: ReactNode;` | optional | Replaces the step number in the indicator. |
| `optional` | `optional?: boolean \| undefined;` | optional | Shows the "Optional" text. |
| `disabled` | `disabled?: boolean \| undefined;` | optional | Not selectable (`aria-disabled`). |
| `invalid` | `invalid?: boolean \| undefined;` | optional | Marks the step as failing validation (`data-invalid`, announced). |
| `status` | `status?: StepStatus \| undefined;` | optional | Overrides the status derived from the Stepper `value`. |
| `children` | `children?: ReactNode;` | optional | Replaces the step's content; wins over `renderStep`. |
| `render` | `render?: ((props: StepTriggerProps) => ReactElement) \| undefined;` | optional | Renders the step's trigger element (a `<button>`, or a `<span>` when the Stepper is read-only) with the computed props; spread them. Composes a `Tooltip` around the step without the Stepper importing it. |
| `ref` | `ref?: Ref<HTMLLIElement> \| undefined;` | optional |  |
