Components/StatusBadge
Since 1.0.0BETA

StatusBadge

Status signals and system feedback

This page was migrated by AI, please review carefully

Migration is complete, but please validate against source code and manual review.

StatusBadge

Lightweight badges for system status and signals.
Status: Beta

Demo

Status Signals

Success, warning, error, info.

Demo will load when visible.
<template>
  <TxStatusBadge text="Success" status="success" />
  <TxStatusBadge text="Warning" status="warning" />
  <TxStatusBadge text="Error" status="danger" />
  <TxStatusBadge text="Info" status="info" />
</template>

API (Lite)

PropertyTypeDefaultDescription
text-Label text
statussuccesswarningdangerinfomutedStatus type
statusKeygranteddeniednotDeterminedunsupportedPermission/status key mapped to a tone
iconCustom icon class
sizesmmdSize
osmacoswindowslinux-Optional platform icon
osOnlyRender only the platform icon

Contract

Explicit status takes precedence over statusKey. statusKey maps granted/denied/notDetermined/unsupported to success/danger/warning/muted, and unknown keys fall back to info. Platform icons render before the tone icon; osOnly hides the tone icon. The badge emits click when clicked.

Composite Patterns

Status Row

Status badge paired with avatar.

Demo will load when visible.
<template>
  <TxAvatar name="TA" />
  <TxStatusBadge text="Online" status="success" />
</template>