When to use it
Use it for setup guides. Use a stepper for a stateful workflow.
Native example
Use it for setup guides. Use a stepper for a stateful workflow.
import androidx.compose.runtime.*
import com.santi020k.lumen.*
@Composable
fun SetupSteps() {
LumenSteps(
steps = listOf(
LumenStepsItem("Install the package", "Add com.santi020k:lumen-compose to your app module."),
LumenStepsItem("Wrap your app", "Call LumenTheme at the root of your content."),
LumenStepsItem("Compose your screens", "Build every screen from Lumen components.")
),
layout = LumenStepsLayout.Rail
)
}Reference
The primary shared and platform-specific options exposed by LumenSteps.
| API | Values or type | Default | Description |
|---|---|---|---|
| steps / start / layout | items / first number / list or rail | required / 1 / list | Use it for setup guides. |
Native behavior
Use it for setup guides. Use a stepper for a stateful workflow.
Ordered list; markers are decorative and titles are headings.
Shared component