Skip to content

GhostProgress reference ​

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

Themed wrapper around headless GhostProgress. Same behavioral props plus tone and size. Importing it loads the default stylesheet and scopes styles to this instance. Hand-written because the wrapper is a .ts defineComponent.

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

All component references

Props ​

NameTypeDefaultRequiredDescription
valuenumber | null—NoCurrent progress forwarded to the unstyled GhostProgress. Omit or pass null for the indeterminate fallback.
maxnumber100NoExclusive upper bound forwarded to the unstyled GhostProgress.
labelstring—NoAccessible name forwarded as aria-label on the progressbar.
valueTextstring—NoAccessible value text forwarded as aria-valuetext while determinate.
tone'accent' | 'neutral' | 'danger' | 'success' | 'warning'"accent"NoSemantic color intent. success and warning fill with the status tokens, as on GhostBadge; there is no info tone. With success or warning, also say the status in text (label, valueText, or visible copy linked with aria-describedby): color alone is not enough. The default omits data-tone so CSS can treat a missing hook as accent.
size'sm' | 'md' | 'lg'"md"NoTrack thickness. The default omits data-size so CSS can treat a missing hook as md.

Emits ​

None declared.

Models ​

None declared.

Slots ​

None declared.

Exposed members ​

None declared.

Parts and data attributes ​

AttributeValueDescription
data-partrootThe progressbar element inside the display:contents themed scope.
data-partindicatorThe fill. Determinate width is an inline percentage; indeterminate motion is CSS.
data-stateindeterminatePresent on the root when value is unknown. Recipe swaps translation for a reduced-motion pulse.

CSS variables ​

NameDescription
--ghost-surface-muted-bgTrack fill behind the indicator.
--ghost-action-primary-bgAccent fill color. Default tone.
--ghost-action-neutral-bgNeutral fill color.
--ghost-action-danger-bgDanger fill color.
--ghost-track-thickness-smPainted track thickness for size sm. Density-independent.
--ghost-track-thickness-mdPainted track thickness for size md. Density-independent.
--ghost-track-thickness-lgPainted track thickness for size lg. Density-independent.
--ghost-radius-pillTrack and fill corner rounding.
--ghost-motion-duration-fastDeterminate fill-width transition.
--ghost-motion-easing-standardEasing for determinate transitions and indeterminate motion.
--ghost-action-spinner-durationIndeterminate loop period. The reduced-motion pulse uses the same period so it does not flicker.
--ghost-action-spinner-opacityReduced-motion pulse trough opacity.

Accessibility ​

Role: progressbar. APG pattern: https://www.w3.org/WAI/ARIA/apg/patterns/meter/.

Required ARIA attributes: aria-valuemin, aria-valuemax.

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 ​

progress/upload-queue ​

Example source

Artifact upload queue

Determinate, custom-valueText, and indeterminate progress bars inside an upload queue card.

Artifact uploads 2 transfers in progress, 1 verifying checksum
tokens-bundle.tar.gz65%
visual-baselines.zip 7 of 10 shards
manifest-signatures.jsonVerifying…

progress/report-export ​

Example source

Report export

Indeterminate while rows are counted, then determinate with row-count value text.

Export billing report

November invoices as CSV. The bar shows a value once the row count is known.

billing-2026-11.csvCounting rows…

progress/themed ​

Example source

Themed

Track thickness and tone on the @ghostvue/themes wrapper.

progress/status-tones ​

Example source

Sync jobs

Success and warning bars, determinate and indeterminate, each saying its status in text.

Sync jobs

  • Nightly backup72%, on track
  • Verifying checksums Healthy, no mismatches so far
  • Syncing files Behind schedule, 1,240 of 3,100 files
  • Reconnecting to storageRetrying, attempt 3 of 5