Android components Data display
StanceBadge
BetaA short status label in soft, solid or outline styles with five tones.
- PlatformAndroid, Jetpack Compose
- Builds onA custom Stance component
- Kindcomposable
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
Row(horizontalArrangement = Arrangement.spacedBy(StanceSpacing.space2)) {
StanceBadge("Live", tone = StanceTone.Success)
StanceBadge("Pending", tone = StanceTone.Warning)
StanceBadge("Failed", tone = StanceTone.Danger)
}Accessibility
- Status is carried by the text, not only colour.