View as Markdown

API reference: @salmonui/navigation/stepper

Stepfunction

import { Step } from '@salmonui/navigation/stepper';
function Step(props: StepProps): ReactElement;

One step: <li class="salmon-stepper-step"> with data-status, data-active, data-invalid, data-optional, data-disabled; parts .salmon-stepper-step-button (a <span> when read-only), .salmon-stepper-indicator, .salmon-stepper-label, .salmon-stepper-description. The connector to the next step is CSS.