If you like Component Box, give it a star on GitHub LogoGitHub and follow us onGitHub LogoTwitter

Skip to main content

Component Box

A Kotlin multiplatform library for building dynamic server-driven UI

Material Component-Based

A Kotlin multiplatform library for building dynamic server-driven UI

Interoperable

A Kotlin multiplatform library for building dynamic server-driven UI

Dynamic

A Kotlin multiplatform library for building dynamic server-driven UI

What You See Is What You Get

A Kotlin multiplatform library for building dynamic server-driven UI


class Screen(
    private val componentBoxUrl: String,
    private val presenter: ComponentBoxPresenter,
    private val context: Context
): ComponentBoxFragment()


@Composable
fun Screen() {
    val zipline = ComponentBoxZipline(getZiplineUrl(), getScript())
    val presenter = ComponentBoxPresenter(zipline)

    ComponentBoxView(
        componentBoxUrl = getComponentBoxUrl(),
        presenter = presenter,
        context = getContext(),
        Loading = { Loading() },
        Fallback = { Fallback() }
    )
}

Get Started
Take the Tutorial