Skip to content

Separator

A simple foundational separator component that shows a line to separate other components.

Installation

build.gradle.kts
repositories {
    mavenCentral()
}

dependencies {
    implementation("com.composables:core:1.14.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.

Styled Examples

Looking for styled components for Jetpack Compose or Compose Multiplatform?

Explore a rich collection of production ready examples at ComposablesUi.com

Composables UI