View as Markdown

API reference: @salmonui/navigation/stepper

Stepperfunction

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

A step indicator: an <ol> of Steps; the active step has aria-current="step". Selectable steps are buttons with one tab stop (arrows by orientation, mirrored in RTL, Home / End). .salmon-stepper with data-orientation, data-label-placement. ref is the <ol>.