Skip to content

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.

All component references

Props ​

NameTypeDefaultRequiredDescription
asGhostCardElement"article"NoRoot element passed to the unstyled primitive.
interactive'spotlight'nullNoOpt-in ambient spotlight on the card.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
defaultPrimary content.
footerOptional footer region.
headerOptional header region.

Slot props: default ​

None declared.

None declared.

Slot props: header ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullInner unstyled root after mount.

Parts and data attributes ​

AttributeValueDescription
data-partrootThemed card root with data-themed.
data-partheaderHeader slot wrapper.
data-partcontentContent slot wrapper.
data-partfooterFooter slot wrapper.
data-partglowSpotlight glow when interactive is spotlight.
data-stateoffSpotlight inactive.
data-stateidleSpotlight idle at the host.
data-statetrackingPointer 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 ​

KeyActionAutomated browser test
TabSame 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.

CategoryStatusEvidence
Automated keyboardNot reviewedNo declared key is mapped to a browser test yet.
Manual interactionNot reviewedNo review recorded.
Assistive technologyNot reviewedNo review recorded.

Examples ​

card/project-summary ​

Example source

Project summary cards

Responsive two-card grid comparing an action card whose footer link and Deploy button act in place with a whole-card spotlight link.

NW
Northwind Web Production · us-west-2
Healthy
Latest build passed all 48 integration checks. Edge cache warming is active across 12 regions.
Deployment runbook Guide
Review rollback thresholds, canary weights, and regional drain steps before promoting a release. Read runbook →

card/themed ​

Example source

Themed card

Elevation chrome and optional spotlight from themes.

Themed card

Default elevation and padding from @ghostvue/themes.
Footer slot