🌈 Create new beautiful Compose Gradients with our new wesite ->
Compose Component

VerticalDivider

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

VerticalDivider social preview

VerticalDivider

Source set: Common
@Composable
public fun VerticalDivider(
    modifier: Modifier = Modifier,
    thickness: Dp = DividerDefaults.Thickness,
    color: Color = DividerDefaults.color,
): Unit

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.