Skip to content

GhostSpinner reference ​

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

Headless indeterminate loading indicator. useGhostSpinner owns status semantics and the live-region message; GhostSpinner is the thin unstyled element. Themed visual props live on @ghostvue/themes. Loading-state orchestration stays with the consumer.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
labelstring"Loading"NoStatus message rendered as visually hidden live-region content. role=status is nameFrom author; contents, not aria-label, are what polite AT announces.

Emits ​

None declared.

Models ​

None declared.

Slots ​

None declared.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partrootThe status span. Presence of the element is the pending state; there is no data-state.

CSS variables ​

None declared.

Accessibility ​

Role: status. APG pattern: https://www.w3.org/WAI/ARIA/apg/practices/live-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 ​

spinner/basic ​

Example source

Basic Headless

Named status. The default label is Loading.

Loading

spinner/composable ​

Example source

Composable Headless

Same contract as GhostSpinner, applied to a native host.

Loading