When to use it
Use for repeated rows with a stable leading/content/trailing structure. Continue using native collection components for scrolling, selection, and navigation.
Compose a flexible native row with leading identity, content, and trailing actions.
Native example
Use for repeated rows with a stable leading/content/trailing structure. Continue using native collection components for scrolling, selection, and navigation.
LumenListRow(
leading = { LumenAvatar(fallback = "SM") },
trailing = { LumenBadge("Admin") }
) {
LumenText("Santiago", variant = LumenTextVariant.Label)
}Reference
The primary shared and platform-specific options exposed by LumenListRow.
| API | Values or type | Default | Description |
|---|---|---|---|
| leading | (@Composable () -> Unit)? | null | Provides identity or a leading visual. |
| content | @Composable () -> Unit | Required | Provides the primary row content. |
| trailing | (@Composable () -> Unit)? | null | Provides status or compact actions. |
Native behavior
Use for repeated rows with a stable leading/content/trailing structure. Continue using native collection components for scrolling, selection, and navigation.
Leading identity, main content, and trailing actions remain contained while interactive descendants keep their own semantics.
Shared component