Skip to content

GhostSkeleton reference ​

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

Non-interactive loading placeholder. useGhostSkeleton owns aria-hidden and inert; GhostSkeleton is the thin unstyled element. Themed shape lives on @ghostvue/themes.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostSkeletonElement"span"NoRendered root element. Choose the tag that is valid in the parent context. Interactive and void elements are excluded.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultOptional. Leave empty. Content inside stays hidden from assistive technology with the root.

Slot props: default ​

None declared.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partrootThe single rendered element selected by as.

CSS variables ​

None declared.

Accessibility ​

Role: generic. APG pattern: https://www.w3.org/WAI/ARIA/apg/practices/hiding-semantics/.

Required ARIA attributes: aria-hidden.

Keyboard ​

KeyActionAutomated browser test
TabMoves past the skeleton. The root is inert and is not a tab stop.Not reviewed

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 ​

skeleton/basic ​

Example source

Basic Headless

Unstyled decorative loading placeholder. Hidden from assistive technology.

skeleton/composable ​

Example source

Composable Headless

Same contract as GhostSkeleton, applied to a native host.