Components
Status Pipeline
Horizontal and vertical progress pipeline tracking multi-stage approval checkpoints and citizen application lifecycles
The UX4G Status Pipeline component visualizes sequential checkpoints in administrative approval workflows, citizen application tracking, grievance redressal lifecycles, and verification pipelines.
Key Capabilities
- Dual Orientations: Seamless switching between
Ux4gPipelineOrientation.Horizontalfor top summary banners andUx4gPipelineOrientation.Verticalfor detailed timeline views. - Automated State Progression: Given a
currentStepindex, prior steps auto-resolve toCompleted(green checkmark), the active step resolves toCurrent(ring donut), and remaining steps render as numberedUpcomingcircles. - Custom States & Colors: Explicit step overriding for
Error(failed inspection),Warning(clarification requested), custom icons, or tailored status colors. - Preset Sizes: Three standardized sizes:
S(20dp circle, 2dp line),M(32dp circle, 3dp line), andL(40dp circle, 3dp line).
Import from com.ux4g.designsystemv1.components.statuspipeline.*.
Interactive Previews
1. Horizontal Status Pipeline
Horizontal progress pipeline ideal for desktop/tablet headers, application summary cards, and multi-stage form progress tracks.
Ux4gStatusPipeline (Horizontal)Jetpack Compose

2. Vertical Status Pipeline
Vertical progress pipeline best suited for mobile application details, audit logs, and detailed chronological stage descriptions.
Ux4gStatusPipeline (Vertical)Jetpack Compose

Kotlin Usage
1. Dynamic Application Approval Tracking
import androidx.compose.foundation.layout.*
import androidx.compose.runtime.*
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.ux4g.designsystemv1.components.statuspipeline.*
@Composable
fun ApplicationTrackingPipeline(currentStage: Int) {
val steps = remember {
listOf(
Ux4gPipelineStep(
label = "Application Submitted",
description = "12 May 2026, 09:30 AM"
),
Ux4gPipelineStep(
label = "Document Scrutiny",
description = "Revenue Officer Assigned"
),
Ux4gPipelineStep(
label = "Field Inspection",
description = "Scheduled on 18 May"
),
Ux4gPipelineStep(
label = "SDM Sanction",
description = "Pending Final Approval"
),
Ux4gPipelineStep(
label = "Certificate Dispatch",
description = "Digital Download"
)
)
}
Ux4gStatusPipeline(
steps = steps,
currentStep = currentStage,
orientation = Ux4gPipelineOrientation.Vertical,
size = Ux4gPipelineSize.M,
modifier = Modifier.padding(16.dp)
)
}2. Pipeline with Error and Warning Checkpoints
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import com.ux4g.designsystemv1.components.statuspipeline.*
@Composable
fun PipelineWithValidationIssues() {
val steps = listOf(
Ux4gPipelineStep(
label = "Aadhaar eKYC",
description = "Verified successfully",
state = Ux4gPipelineStepState.Completed
),
Ux4gPipelineStep(
label = "Bank Account Match",
description = "Warning: Name spelling mismatch",
state = Ux4gPipelineStepState.Warning
),
Ux4gPipelineStep(
label = "Income Verification",
description = "Failed: Certificate expired",
state = Ux4gPipelineStepState.Error
),
Ux4gPipelineStep(
label = "Final Sanction",
description = "Awaiting corrected documents",
state = Ux4gPipelineStepState.Upcoming
)
)
Ux4gStatusPipeline(
steps = steps,
currentStep = -1, // Use explicit states from step models
orientation = Ux4gPipelineOrientation.Vertical,
size = Ux4gPipelineSize.M,
modifier = Modifier.padding(16.dp)
)
}Parameters
Ux4gStatusPipeline Props
| Prop | Type | Description | Default |
|---|---|---|---|
steps * | List<Ux4gPipelineStep> | Sequential list of pipeline checkpoint data models. | — |
modifier | Modifier | Compose modifier applied to outer container layout. | Modifier |
currentStep | Int | 0-indexed active progress pointer. When >= 0, auto-resolves states. | 0 |
orientation | Ux4gPipelineOrientation | Pipeline orientation (Vertical or Horizontal). | Ux4gPipelineOrientation.Vertical |
size | Ux4gPipelineSize | Preset size sizing dimensions (S, M, L). | Ux4gPipelineSize.M |
showLabels | Boolean | Whether step label titles are displayed. | true |
showDescriptions | Boolean | Whether step description subtitles are displayed. | true |
activeLineWidth | Dp? | Custom line width for completed/active connector segments. | null |
inactiveLineWidth | Dp? | Custom line width for upcoming connector segments. | null |
completedColor | Color? | Custom circle and icon color override for completed steps. | null |
currentColor | Color? | Custom circle color override for the active step. | null |
upcomingColor | Color? | Custom border color override for upcoming steps. | null |
errorColor | Color? | Custom color override for error steps. | null |
warningColor | Color? | Custom color override for warning steps. | null |
completedLineColor | Color? | Custom color for active connecting lines. | null |
upcomingLineColor | Color? | Custom color for inactive upcoming connecting lines. | null |
labelSpacing | Dp? | Custom spacing between the circle indicator and label text. | null |
circleSize | Dp? | Custom diameter override for step indicator circles. | null |
Ux4gPipelineStep Model Props
| Prop | Type | Description | Default |
|---|---|---|---|
label | String? | Primary title for this checkpoint (e.g., "Submitted"). | null |
description | String? | Supporting timestamp or status note (e.g., "5 Apr"). | null |
state | Ux4gPipelineStepState | Step status (Completed, Current, Upcoming, Error, Warning). | Ux4gPipelineStepState.Upcoming |
customIcon | (@Composable () -> Unit)? | Custom composable icon rendered inside the step circle. | null |
customIconVector | Ux4gIcon? | Custom UX4G icon vector rendered inside the step circle. | null |
customColor | Color? | Custom color override for this individual step circle. | null |
Ux4gPipelineOrientation Reference
| Orientation | Description |
|---|---|
Horizontal | Renders steps in a horizontal row connected by horizontal lines, with labels centered beneath. |
Vertical | Renders steps in a vertical column with connecting lines running down and labels placed to the right. |
Ux4gPipelineStepState Reference
| State | Visual Rendering | Meaning |
|---|---|---|
Completed | Solid green circle with white checkmark icon (Ux4gIcons.Check) | Step successfully finished |
Current | Solid primary color ring with inner surface circle (donut) | Step currently in progress |
Upcoming | Gray outlined circular border with numbered step index | Step pending execution |
Error | Red outlined circular border with red step index | Step failed validation / rejected |
Warning | Amber/orange outlined circular border with step index | Action required / soft alert |
Ux4gPipelineSize Reference
| Size | Circle Diameter (Dp) | Active Line Width (Dp) | Inactive Line Width (Dp) | Icon Size (Dp) |
|---|---|---|---|---|
S | 20.dp | 2.dp | 1.dp | 12.dp |
M | 32.dp | 3.dp | 2.dp | 18.dp |
L | 40.dp | 3.dp | 2.dp | 22.dp |