Docs
Installation
Get a caveui component into your Jetpack Compose project.
Maven publishing is coming soon. Today there are two ways to use a component: add it with the CLI, or copy the Kotlin from any component's detail page.
Add with the CLI
bash
npx caveui@latest add button-gradientWrap your app in CaveTheme
kotlin
import io.caveui.components.button.CaveButton
import io.caveui.theme.CaveTheme
CaveTheme {
CaveButton(text = "Get started", onClick = { /* ... */ })
}CaveTheme builds on MaterialTheme, so dark mode and dynamic color work out of the box. See Theming for the available design tokens.