GhostCard reference
Package: @ghostvue/themes. Status: experimental (stability policy).
Themed GhostCard with elevation-1 chrome and optional interactive spotlight. 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 | GhostCardElement | "article" | No | Root element passed to the unstyled primitive. |
interactive | 'spotlight' | null | No | Opt-in ambient spotlight on the card. |
Emits
None declared.
Models
None declared.
Slots
| Name | Description |
|---|---|
default | Primary content. |
footer | Optional footer region. |
header | Optional header region. |
Slot props: default
None declared.
Slot props: footer
None declared.
Slot props: header
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 card root with data-themed. |
data-part | header | Header slot wrapper. |
data-part | content | Content slot wrapper. |
data-part | footer | Footer slot wrapper. |
data-part | glow | Spotlight glow when interactive is spotlight. |
data-state | off | Spotlight inactive. |
data-state | idle | Spotlight idle at the host. |
data-state | tracking | Pointer tracking active. |
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 | Same contract as the unstyled GhostCard. | 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
card/project-summary
Responsive two-card grid comparing an action card whose footer link and Deploy button act in place with a whole-card spotlight link.
card/themed
Elevation chrome and optional spotlight from themes.