Native task progress with an ordered list, persistent content slots and cancelable navigation. Use it for a reporting or review workflow; use qds-tabs for independent tabbed sections.
<script type="module" src="/assets/components/stepper/qds-stepper.js"></script>
<qds-stepper id="report" label="Operating update progress" linear>
<section slot="step-context"><h2>Reporting context</h2><input aria-label="Report name"></section>
<section slot="step-review"><h2>Review update</h2><button type="button">Submit locally</button></section>
</qds-stepper>
<script>
report.steps = [{id: 'context', label: 'Reporting context'}, {id: 'review', label: 'Review update'}];
// Mark the relevant step complete after application validation, then request navigation.
report.steps = report.steps.map(step => ({...step, completed: step.id === 'context'}));
report.goTo('review');
report.focusPanel();
</script>
steps: cloned ordered {id, label, description?, completed?, disabled?, optional?, error?}[]. IDs and labels are nonempty strings; duplicate IDs are ignored. Labels/descriptions/errors are text. Preserve immutable IDs when updating a sequence.activeStep / active-step: current effective ID. Author assignments are silent and bypass linear completion checks. An unavailable request preserves an available current step or falls back to the first enabled step; a later matching step can satisfy a pending request. Clearing the attribute returns to the first enabled step.linear: user/API requests require preceding nonoptional enabled steps to be completed without errors. Earlier-step review is allowed. Explicitly disabled steps cannot be activated. Applications own validation and completion flags.orientation: horizontal (default, wraps on narrow screens) or vertical; supports inherited RTL.variant: cards (existing default) or steps (equal-width numbered circles, a connector through their centers, labels below, and emphasized current stage). The steps variant stays on one line; very narrow containers can scroll. Descriptions remain visible and error text is retained. Vertical layout and RTL are supported.readonly: blocks pointer/keyboard stage changes. Other stages are disabled; the current stage remains focusable with aria-current="step" and aria-disabled="true". Application assignments to activeStep are silent; goTo() still supports guarded application navigation. This differs from disabling each record stage, which also prevents application navigation to that stage.label: navigation landmark name, default Task progress.goTo(id): boolean: guarded request, returning whether navigation occurred. Repeated/current, unknown, disabled, incomplete or canceled requests return false.focusPanel(options?): focus the current content region after rendering; empty sequences are safe. It does not submit a form or focus a field.before-step-change: bubbling/composed, cancelable {value, previousValue, source: 'user'|'api'}. Prevent default for application validation. Listener-driven removal/disabling/redirecting of the destination is respected.step-change: same detail after a successful request. Programmatic activeStep assignment emits neither event.slot="step-ID": arbitrary persistent content for ID ID. Hidden panels retain their nodes and field values. Supply meaningful headings and label every field. A field that becomes hidden yields focus to the newly active region; existing step-button focus is preserved where possible.navigation, list, item, step, number, label, connector, status, panel.Use the existing native component through the generated Angular wrapper:
<q-qds-stepper variant="steps" [readonly]="true"
label="Distribution funding progress"
[steps]="distributionStages" [activeStep]="distribution.stage">
</q-qds-stepper>
distributionStages = [
{ id: 'requested', label: 'Requested' },
{ id: 'submitted', label: 'Submitted' },
{ id: 'approved', label: 'Approved' },
{ id: 'funded', label: 'Funded' },
];
distribution = { stage: 'funded' };
PrimeNG’s model maps to steps; its numeric activeIndex maps to the corresponding immutable activeStep ID. Read-only mode blocks navigation, not selection of a different business record. No PrimeNG runtime or CSS is required.
The layout supports matching Quilt’s numbered tracker. Exact host typography and theme colors are independently configurable: use --qds-stepper-font-size, --qds-stepper-marker-size, --qds-stepper-label-gap, --qds-stepper-connector-color, --qds-stepper-marker-border, --qds-stepper-marker-background, --qds-stepper-current-background, --qds-stepper-text-color, and --qds-stepper-current-color, or the exposed parts. Defaults use existing QDS theme tokens; inactive informational labels retain readable contrast. No existing token values change. Match Quilt’s actual computed font and colors when a pixel-identical host migration is required; the supplied screenshot alone does not specify all of those values.
The adjacent demo includes the Requested → Submitted → Approved → Funded sequence, a programmatic stage selector, and interactive variant/read-only/vertical/RTL controls. The Angular catalog’s Exercise Angular wrapper link exposes the generated variant and readonly inputs as well.
The named navigation contains an ordered list of native buttons; aria-current="step" and visible state text identify progress. This is not a tablist. Tab reaches enabled buttons naturally; Enter/Space activate. Arrows and Home/End optionally move focus without activation, with vertical/RTL direction respected. Disabled/linear-locked buttons are skipped. The current named content region can receive focus through focusPanel(); applications should describe validation errors and overall instructions.
Guidance: W3C multi-page forms, Carbon progress indicator accessibility, PrimeNG Stepper.
Operations > New update (/#/operations/updates/new) progresses through reporting context, metrics/reviewers and local review/submission using generated stepper inputs/events/methods. Query step identifies the current phase. Earlier data survives step changes and browser Back; reload/navigation resets the report. Missing prior data redirects a deep step to the first incomplete phase. This is a fictional local workflow, not a persistent reporting service.
Portfolio > Companies > Redwood Basin Resources (/#/portfolio/companies/co-redwood) includes Distribution status. Select one of four fictional distribution records to inspect its amount, current funding stage and treasury/reconciliation outcome. The connected tracker uses generated variant, readonly, steps and activeStep bindings. Clicking its steps cannot change a business record. Browser tests exercise the selection and read-only behavior in light and dark themes.
Run npm run verify; use the adjacent test.html for linear/nonlinear, state, keyboard, orientation, content retention and validation examples. Stage evidence is recorded in .agents/docs/generated/p1-delivery-status.md.