0 of 3 environments match
GhostEmptyState reference
Package: @ghostvue/themes. Status: experimental (stability policy).
Themed GhostEmptyState with centered layout and token typography. Sets data-themed on the inner root.
Generated from the component manifest. Edit the manifest or Vue source, then rebuild the docs.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
as | GhostEmptyStateElement | "div" | No | Root element passed to the unstyled primitive. |
headingLevel | GhostEmptyStateHeadingLevel | 3 | No | Heading level for the title slot. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
visual | Optional decorative graphic. |
title | Optional heading copy. |
description | Optional supporting copy. |
actions | Optional action controls. |
Slot props: visual
None declared.
Slot props: title
None declared.
Slot props: description
None declared.
Slot props: actions
None declared.
Exposed members
| Name | Type | Description |
|---|---|---|
element | HTMLElement | null | Inner unstyled root after mount. |
Parts and data attributes
| Attribute | Value | Description |
|---|---|---|
data-part | root | Themed empty-state root with data-themed. |
data-part | visual | Decorative graphic wrapper. |
data-part | title | Heading element. |
data-part | description | Muted description paragraph. |
data-part | actions | Action button row. |
CSS variables
None declared.
Accessibility
Role: generic. APG pattern: https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/.
Required ARIA attributes: none.
Keyboard
| Key | Action | Automated browser test |
|---|---|---|
Tab | Moves through focusable actions. Root is not focusable. | 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
empty-state/search-results
Filter with no matches shows a themed GhostEmptyState; clearing it restores the list, a status line announces the result count, and focus returns to the filter.
empty-state/themed
Visual, title, description, and actions with default CSS.