Skip to content
🤔 Documentation issue? Report or edit

Divider

A divider is a thin line that groups content in lists and layouts.

@Composable
fun DividerExample(){
    Column {
        Text("Foo")
        Divider(startIndent = 8.dp, thickness = 1.dp, color = Color.Black)
        Text("Bar")
    }
}

See also:


Last update: May 18, 2022