Separator
A simple foundational separator component that shows a line to separate other components.
Installation
repositories {
mavenCentral()
}
dependencies {
implementation("com.composables:core:1.37.0")
}
Basic Example
Basic example showing a horizontal separator:
HorizontalSeparator(color = Color(0xFF9E9E9E))
VerticalSeparator(color = Color(0xFF9E9E9E))
Parameters
VerticalSeparator / HorizontalSeparator
Parameter | Description |
---|---|
color | the Color of the separator. |
thickness | a Dp of how thick the separator should rendered. |
modifier | the Modifier to be used to this separator. |