Skip to content

GhostInlineAlert reference ​

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

Themed wrapper around headless GhostInlineAlert. Adds variant and tone visual props plus data-themed scoping.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
variant'solid' | 'soft' | 'outline' | 'ghost'"soft"NoVisual treatment. The default omits data-variant.
tone'accent' | 'neutral' | 'danger' | 'success' | 'warning'"neutral"NoSemantic color intent, independent of variant and not a status enum. success and warning use the status tokens, as on GhostBadge; there is no info tone. The default omits data-tone.

Emits ​

None declared.

Models ​

None declared.

Slots ​

NameDescription
actionsOptional action controls.
messagePrimary supporting copy.
titleOptional heading text.

Slot props: actions ​

None declared.

Slot props: message ​

None declared.

Slot props: title ​

None declared.

Exposed members ​

NameTypeDescription
elementHTMLElement | nullDelegates to the unstyled GhostInlineAlert root.

Parts and data attributes ​

None declared.

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 ​

None declared.

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 ​

inline-alert/billing-notices ​

Example source

Workspace billing status

Solid, soft, and outline GhostInlineAlert notices with contextual actions.

Workspace billing status

Contextual notices sit inline with the billing controls they affect.

Payment method declined

The card ending in 4242 failed authorization. Update billing details before Friday to avoid pausing background workers.

Annual invoice scheduled

Your Pro renewal ($348.00) is scheduled for December 1, 2026.

Storage at 82% of included quota

Artifact retention is set to 30 days. Adjust retention in workspace settings if you need more headroom.

inline-alert/feed-status ​

Example source

Coastal feed status

One mounted announce="status" alert whose text changes in place from checking to partially unavailable to up to date while saved readings stay visible.

Coastal conditions

Checking 3 feeds…

Saved readings stay on screen until each feed responds.
  • Harbor buoy1.2 m swellUpdated 18 min ago
  • Pier wind14 kn SWUpdated 9 min ago
  • Tide gauge2.1 m risingUpdated 9 min ago

inline-alert/themed ​

Example source

Themed inline alert

Soft danger styling from @ghostvue/themes.

Could not refresh rows

The server returned an error. Your last successful data is still shown below.

inline-alert/status-tones ​

Example source

Service health

Neutral, success, warning, and danger soft alerts side by side, with transparent actions on the status tones.

Service health

Maintenance window on Sunday

Search indexing pauses from 02:00 to 03:00 UTC. Queries still return cached results.

API gateway is healthy

All 6 regions responded within 120 ms over the last hour.

Database replicas are degraded

Replica lag in eu-west is 45 seconds. Reads may return stale rows until it catches up.

Webhook delivery failed

38 events could not be delivered. They will retry automatically for 24 hours.

inline-alert/live ​

Example source

Post-mount alert Headless

announce=alert after a simulated failure.

inline-alert/table-error ​

Example source

Table load failure

Recoverable table error with a retry action.

Unable to load table

A network error prevented rows from loading. Cached data may be stale.