Skip to content
Lists & Grids

Lazy Column

Vertically scrolling list that composes items on demand

LazyColumn lays out and composes only the items that are visible, making it efficient for long or unbounded lists. Pair items with ListItem and HorizontalDivider for a classic settings-style list.

Lazy Column demos rendered in Compose Playground
Pixel-accurate preview · light theme

Examples

01

List of items

A fixed-height LazyColumn of ListItems separated by dividers.

Kotlin
LazyColumn(modifier = Modifier.height(220.dp)) {
    items(rows) { row ->
        ListItem(
            headlineContent = { Text(row) },
            supportingContent = { Text("Supporting text") }
        )
        HorizontalDivider()
    }
}