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.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostSkeletonElement | "span" | No | Rendered 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
| Name | Description |
|---|---|
default | Optional. 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
| Attribute | Value | Description |
|---|---|---|
data-part | root | The 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
| Key | Action | Automated browser test |
|---|---|---|
Tab | Moves 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.
| Category | Status | Evidence |
|---|---|---|
| Automated keyboard | Not reviewed | No declared key is mapped to a browser test yet. |
| Manual interaction | Not reviewed | No review recorded. |
| Assistive technology | Not reviewed | No review recorded. |
Examples
skeleton/basic
Unstyled decorative loading placeholder. Hidden from assistive technology.
skeleton/composable
Same contract as GhostSkeleton, applied to a native host.