Progress SLA Indicator
Service Level Agreement (SLA) status tracking component featuring Linear and Circular countdown indicators across Normal, Warning, Critical, and Completed SLA tiers
The UX4G Progress SLA Indicator visualizes Service Level Agreement (SLA) timelines, countdown deadlines (e.g. days left to process citizen grievance, certificate issuance SLAs), and stage completion statuses.
It provides two specialized form factors:
- Circular SLA Indicator: 360° ring displaying deadline counters (e.g.
8 days left), milestone titles, severity descriptions, and SLA status badge tags across Primary (Normal), Warning (Approaching SLA), Critical (Overdue / Immediate Attention), and Success (Resolved) states. - Linear SLA Indicator: Horizontal progress track with leading status icon bubbles, service labels, hint texts, and completion percentages.
Import from com.ux4g.designsystemv1.components.progress.* and com.ux4g.designsystemv1.components.*.
Interactive Previews
1. Circular SLA Indicator
360-degree circular ring indicator showcasing the 4 SLA severity tiers: Normal (Purple), Warning (Orange), Critical (Red), and Completed (Green), featuring center countdown values (8 days left), labels, descriptions, and footer status tags.

2. Linear SLA Indicator
Horizontal SLA progress tracks with status icon bubbles, category labels, hint indicators, and percentage metrics across all 4 SLA tiers.

Kotlin Usage
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.ux4g.designsystemv1.components.tag.Ux4gTag
import com.ux4g.designsystemv1.components.progress.*
import com.ux4g.designsystemv1.foundation.Ux4gColors
import com.ux4g.designsystemv1.foundation.Ux4gIcons
@Composable
fun GrievanceSlaScreen() {
Column(
modifier = Modifier
.fillMaxWidth()
.padding(16.dp),
verticalArrangement = Arrangement.spacedBy(24.dp),
horizontalAlignment = Alignment.CenterHorizontally
) {
// Circular SLA Countdown Widget
Ux4gCircularProgress(
value = 0.70f,
size = Ux4gCircularProgressSize.XXL,
progressColor = Ux4gColors.orange500,
centerValueText = "3",
centerDescription = "days left",
label = "Grievance Resolution SLA",
description = "Escalation to District Officer in 3 days",
footer = {
Ux4gTag(
text = "High Priority",
backgroundColor = Ux4gColors.orange100,
contentColor = Ux4gColors.orange600
)
}
)
// Linear SLA Track
Ux4gLinearProgressBar(
value = 0.85f,
icon = Ux4gIcons.Clock,
iconColor = Ux4gColors.red500,
iconBackgroundColor = Ux4gColors.red100,
label = "Passport Verification SLA",
hint = "Police Clearance",
showPercentage = true,
labelPosition = Ux4gProgressLabelPosition.Outside,
color = Ux4gColors.red500
)
}
}Parameters
1. Circular SLA Parameters (Ux4gCircularProgress)
| Prop | Type | Description | Default |
|---|---|---|---|
value * | Float | Elapsed SLA progress fraction (0.0f to 1.0f). | — |
size | Ux4gCircularProgressSize | Ring size preset: XS, S, M, L, XL, XXL (116dp), XXXL (144dp). | Ux4gCircularProgressSize.L |
centerValueText | String? | Bold numeric counter displayed in center (e.g. "8"). | null |
centerDescription | String? | Subtext below the counter (e.g. "days left"). | null |
label | String? | Primary milestone label text below the ring. | null |
description | String? | Secondary explanation or department note below label. | null |
progressColor | Color? | SLA tier status color (primary, orange500, red500, green500). | Ux4gColors.primary |
footer | (@Composable () -> Unit)? | Composable slot for embedding status tags (Ux4gTag). | null |
descriptionStyle | TextStyle? | Text style override for description (e.g. red font for critical state). | null |
trackColor | Color? | Inactive ring background track color. | Ux4gColors.neutral300 |
2. Linear SLA Parameters (Ux4gLinearProgressBar)
| Prop | Type | Description | Default |
|---|---|---|---|
value * | Float | Progress percentage value between 0.0f and 1.0f. | — |
icon | Ux4gIcon? | Circular leading status icon. | null |
iconColor | Color? | Tint color of the leading icon. | Ux4gColors.primary |
iconBackgroundColor | Color? | Background circle fill color behind leading icon. | Ux4gColors.primary100 |
label | String? | SLA task headline label. | null |
hint | String? | Supporting caption text displayed above-right. | null |
showPercentage | Boolean | Whether to display completion percentage text. | false |
labelPosition | Ux4gProgressLabelPosition | Location of percentage text (Outside or Inside). | Ux4gProgressLabelPosition.Outside |
color | Color? | Solid progress track color (primary, orange500, red500, green500). | Ux4gColors.primary |
height | Dp | Vertical thickness of progress track. | 8.dp |