compose-table

Creates a table component with automatic layout, composable cells, grid lines, and support for spanning rows and columns, ensuring ease of use.

Android JVMJVMWasm
GitHub stars16
Authorszakgof
Open issues2
LicenseApache License 2.0
Creation dateover 1 year ago

Last activityover 1 year ago
Latest release1.0.1 (over 1 year ago)

Compose-table compose-table

Maven Central Kotlin badge badge badge badge badge

Table component for Kotlin Multiplatform

@Composable table widget

  • Automatic layout

  • Composable cells

  • Grid lines

  • Spanning rows and columns

  • Easy to use

    Example

Setup

Gradle configuration for Kotlin Multiplatform:

kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("com.github.zakgof:table:1.0.1")

Quick start

Table (lineWidth = 2.dp, lineColor = Color.BLUE) {
    Row {
        Text(text = "Cell 1")
        Text(text = "Cell 2")
    }
    Row {
        Text(text = "Long cell", modifier = Modifier.columnSpan(2))
    }
}
Android JVMJVMWasm
GitHub stars16
Authorszakgof
Open issues2
LicenseApache License 2.0
Creation dateover 1 year ago

Last activityover 1 year ago
Latest release1.0.1 (over 1 year ago)

Compose-table compose-table

Maven Central Kotlin badge badge badge badge badge

Table component for Kotlin Multiplatform

@Composable table widget

  • Automatic layout

  • Composable cells

  • Grid lines

  • Spanning rows and columns

  • Easy to use

    Example

Setup

Gradle configuration for Kotlin Multiplatform:

kotlin {
    sourceSets {
        commonMain.dependencies {
            implementation("com.github.zakgof:table:1.0.1")

Quick start

Table (lineWidth = 2.dp, lineColor = Color.BLUE) {
    Row {
        Text(text = "Cell 1")
        Text(text = "Cell 2")
    }
    Row {
        Text(text = "Long cell", modifier = Modifier.columnSpan(2))
    }
}