UX4G Logo
Components

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:

  1. 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.
  2. 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.

Circular SLA IndicatorJetpack Compose
UX4G Circular SLA Progress Indicator Preview

2. Linear SLA Indicator

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

Linear SLA IndicatorJetpack Compose
UX4G Linear SLA Progress Indicator Preview

Kotlin Usage

Citizen Grievance SLA Dashboard Example
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)

PropTypeDescriptionDefault
value *FloatElapsed SLA progress fraction (0.0f to 1.0f).—
sizeUx4gCircularProgressSizeRing size preset: XS, S, M, L, XL, XXL (116dp), XXXL (144dp).Ux4gCircularProgressSize.L
centerValueTextString?Bold numeric counter displayed in center (e.g. "8").null
centerDescriptionString?Subtext below the counter (e.g. "days left").null
labelString?Primary milestone label text below the ring.null
descriptionString?Secondary explanation or department note below label.null
progressColorColor?SLA tier status color (primary, orange500, red500, green500).Ux4gColors.primary
footer(@Composable () -> Unit)?Composable slot for embedding status tags (Ux4gTag).null
descriptionStyleTextStyle?Text style override for description (e.g. red font for critical state).null
trackColorColor?Inactive ring background track color.Ux4gColors.neutral300

2. Linear SLA Parameters (Ux4gLinearProgressBar)

PropTypeDescriptionDefault
value *FloatProgress percentage value between 0.0f and 1.0f.—
iconUx4gIcon?Circular leading status icon.null
iconColorColor?Tint color of the leading icon.Ux4gColors.primary
iconBackgroundColorColor?Background circle fill color behind leading icon.Ux4gColors.primary100
labelString?SLA task headline label.null
hintString?Supporting caption text displayed above-right.null
showPercentageBooleanWhether to display completion percentage text.false
labelPositionUx4gProgressLabelPositionLocation of percentage text (Outside or Inside).Ux4gProgressLabelPosition.Outside
colorColor?Solid progress track color (primary, orange500, red500, green500).Ux4gColors.primary
heightDpVertical thickness of progress track.8.dp

On this page