Divider
A thin line that groups content in lists and layouts.
Installation
./gradlew lumo --add DividerUsage
Horizontal Divider
HorizontalDivider(
modifier = Modifier.fillMaxWidth(),
thickness = 1.dp,
color = AppTheme.colors.surface
)Vertical Divider
VerticalDivider(
modifier = Modifier.fillMaxHeight(),
thickness = 1.dp,
color = AppTheme.colors.surface
)API Documentation
Divider Types
| Component | Description |
|---|---|
HorizontalDivider | Line that spans horizontally |
VerticalDivider | Line that spans vertically |
Parameters
| Parameter | Type | Description |
|---|---|---|
modifier | Modifier | Modifier for the divider |
thickness | Dp | Thickness of the divider line |
color | Color | Color of the divider |