HorizontalDivider

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

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

For COUI card lists, place one divider between each pair of adjacent rows inside a Card (never after the last row) and inset it with DividerDefaults.CardInset.

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.