VerticalDivider

@Composable
fun VerticalDivider(modifier: Modifier = Modifier, color: Color = LocalContentColor.current, thickness: Dp = DividerDefaults.thickness)

A vertical divider line for separating content.

By default uses LocalContentColor for the divider color, allowing it to adapt when placed inside styled containers.

Since

0.6.0

Parameters

modifier

Modifier to apply to the divider.

color

Color of the divider line. Defaults to LocalContentColor.

thickness

Thickness of the divider line.