HorizontalDivider

@Composable
fun HorizontalDivider(modifier: Modifier = Modifier, thickness: Dp = DividerDefaults.Thickness, color: Color = DividerDefaults.color)

Material Design divider.

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

Divider image

Parameters

modifier

the Modifier to be applied to this divider line.

thickness

thickness of this divider line. Using Dp.Hairline will produce a single pixel divider regardless of screen density.

color

color of this divider line.