Member Junction
    Preparing search index...

    mj-stat-badge — Small read-only pill for the [meta] slot of <mj-page-header>. Used to surface counts, status pills, and other informational chips next to the page title.

    Replaces the per-section .{section}-stat-badge / .X-header-meta-badge CSS that pages were duplicating after the chrome migration.

    Examples:

    <mj-stat-badge [Count]="42" Label="integrations" />

    <mj-stat-badge [Count]="failedRuns" Label="failed" Variant="error" />

    <mj-stat-badge Icon="fa-solid fa-spinner fa-spin" Label="running" Variant="running" />

    <!-- Result-count style: render "X of Y label" when Total is set -->
    <mj-stat-badge [Count]="filteredCount" [Total]="totalCount" Label="agents" />

    <mj-stat-badge Variant="success">All clear</mj-stat-badge> <!-- arbitrary projected content -->

    Note: this component absorbed the former mj-result-count (deleted in the organizational refactor). When Total is set, the badge renders the "X of Y label" pattern; otherwise it renders "X label" — same shape, same styling, one component.

    Index

    Constructors

    Properties

    Count: string | number | null = null

    Numeric or text value rendered as <strong>. Omit if using Label only.

    Icon: string = ''

    Optional Font Awesome icon prefixed before the count/label.

    Label: string = ''

    Descriptive text after the count (e.g. "integrations", "failed").

    Total: string | number | null = null

    Optional total when the badge represents a filtered subset (e.g. "12 of 50 prompts"). When set together with Count, the badge renders "{Count} of {Total} {Label}". Replaces the old mj-result-count component.

    Variant: MJStatBadgeVariant = 'default'

    Color treatment. Defaults to neutral surface-card.

    Accessors