Jenga Status Pill
A compact status pill: a leading dot (or a spinner while loading) plus a short label, tinted by tone. Use it for live, glanceable state (connectivity, sync, gate health) anywhere a io.github.joelkanyi.jenga.component.badge.JengaBadge is too static. Optionally onClickable to open details.
Parameters
the status text.
the Modifier for this pill.
the semantic tone driving its colors.
when true, the leading dot becomes a small spinner.
optional tap handler (e.g. open a details sheet).
the color set; defaults to JengaStatusPillDefaults.colors for tone.
whether the leading dot is shown; the spinner still shows while loading.
diameter of the leading dot or spinner.
the minimum pill height.
padding inside the pill.
the label text style.
optional icon before the label, tinted with the accent color; replaces the dot. The spinner still shows while loading.
Samples
JengaStatusPill(
label = "Synced",
tone = JengaBadgeTone.Success,
)