Skip to Content
Urban Cowboy
Components

Step Progress

Compact step navigation used inside the booking steps.

StepProgress renders the current step, its position and an optional confirmation state. The docs demo shows the three-step booking flow with “Rooms” active; selecting a step only updates a local status message.

*
*

Props

PropValuesNotes
steps{ key, label }[]Ordered step definitions
currentKeystring or nullActive key; null shows the confirmation state
onStepSelectcallbackOptional step navigation

Responsive behaviour

A condensed summary is shown on phones and the full step list from sm up. Both forms convey the same current step, so no information is lost at narrow widths.

Usage

import { StepProgress } from '@/components/booking/layout/step-progress';

<StepProgress steps={steps} currentKey="results" onStepSelect={goToStep} />

View source