Skip to content

GhostStepper reference ​

Package: @ghostvue/themes. Status: experimental (stability policy).

Themed step indicator around @ghostvue/vue GhostStepper: indicator circles in the success, primary and danger tones, connector lines, a focus ring, and labels that collapse to indicators in narrow containers while every trigger keeps its full accessible name. Adds size styling via data-size; behavior, slots and accessibility come from the headless component.

Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.

All component references

Props ​

NameTypeDefaultRequiredDescription
size'sm' | 'md' | 'lg'"md"NoTrigger min height, label size and indicator size from control.size tokens. Default omits data-size.

Emits ​

None declared.

Models ​

PropEventTypeDescription
modelValueupdate:modelValueGhostStepperValue<TStep>v-model binding for the current step value.

Slots ​

NameDescription
indicatorForwarded indicator slot.
labelForwarded label slot.
descriptionForwarded description slot.
separatorForwarded separator slot.

Slot props: indicator ​

None declared.

Slot props: label ​

None declared.

Slot props: description ​

None declared.

Slot props: separator ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullRoot of the inner headless component.
focus(options?: FocusOptions) => voidDelegate focus to the inner stepper.
blur() => voidBlur the inner stepper.

Parts and data attributes ​

AttributeValueDescription
data-partrootThemed root (headless ghost-stepper). A horizontal stepper is an inline-size query container named ghost-stepper.

CSS variables ​

None declared.

Accessibility ​

Role: navigation. APG pattern: https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.

Required ARIA attributes: none.

Keyboard ​

None declared.

Verification ​

Each category is reviewed separately. Automated keyboard and axe results do not attest manual or assistive-technology review.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

stepper/booking-wizard ​

Example source

Booking wizard

Five-step hotel booking on one useGhostForm: each step validates before moving forward, completed steps stay reachable, and a server error marks the Contact step.

Dates

YYYY-MM-DD
YYYY-MM-DD

stepper/basic ​

Example source

Next and Back

Controlled three-step account setup where the stepper, Next and Back all call one goTo function.

Account: step 1 of 3

stepper/vertical ​

Example source

Vertical with descriptions

Vertical onboarding checklist with a description under each step and free navigation.

Open task: calendar

stepper/status-only ​

Example source

Status only

Checkout progress header with navigation set to none: the steps are announced but nothing is interactive.

Checkout

  1. Step 1 of 4, Cart, Completed
  2. Step 2 of 4, Shipping, Completed
  3. Step 3 of 4, Payment
  4. Step 4 of 4, Confirm