page WorkflowProgresscomponent { seo { title = "WorkflowProgress component" description = "Reusable workflow progress component." } view {
W WRNexusJS
visualization component

WorkflowProgress

Reusable workflow progress component.

@wrnexus/ui 0.2.646 props1 slots0 events

Usage

Components are auto-discovered. Use the component directly in any .wrn view:

<WorkflowProgress title="title" value="value" description="description" summary="summary" loading="false" />

Legacy mount name: data-component="WorkflowProgress".

Props and attributes

PropTypeRequirementDefault
titlestringOptional""
valuestringOptional""
descriptionstringOptional""
summarystringOptional""
loadingbooleanOptionalfalse
classstringOptional""

Slots

  • default

Events

This component does not declare a custom event.

Source contract

Installed source: components/WorkflowProgress.wrn

component WorkflowProgress {
  props {
    title = ""
    value = ""
    description = ""
    summary = ""
    loading = false
    class = ""
  }
  view { <figure aria-label="{summary || title}" class="wire-card wire-catalog-visualization {class}"><figcaption><strong data-show="title">{title}</strong><span data-show="value" class="wire-metric__value">{value}</span><span data-show="description" class="wire-muted">{description}</span></figcaption><div data-show="loading" class="wire-skeleton wire-catalog-visualization__skeleton"></div><div data-show="!loading" class="wire-catalog-visualization__content"><slot /></div><p data-show="summary" class="wire-visually-hidden">{summary}</p></figure> }
}
} }