Cards
Cards

Bundle Combo

Bundle card stacking three product thumbs with a combined combo price.

Starter Bundle
$74$96

Installation

caveui components are copy-paste Jetpack Compose built entirely on Material 3 — there's no caveui dependency to add. Make sure Material 3 is on your classpath (it ships with the Compose BOM), then copy the Usage snippet below into your project.

kotlin
// build.gradle.kts (module)
dependencies {
    implementation(platform("androidx.compose:compose-bom:2025.06.00"))
    implementation("androidx.compose.material3:material3")
}

Usage

kotlin
@Composable
fun BundleComboCard() {
  Card(
    modifier = Modifier.width(260.dp),
    shape = RoundedCornerShape(18.dp)
  ) {
    Column(Modifier.padding(16.dp)) {
      Row(verticalAlignment = Alignment.CenterVertically) {
        Icon(Icons.Default.Inventory2, null)
        Text("  Starter Bundle",
          style = MaterialTheme.typography.titleMedium)
      }
      Spacer(Modifier.height(12.dp))
      Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {
        repeat(3) {
          Box(
            Modifier
              .size(64.dp)
              .clip(RoundedCornerShape(12.dp))
              .background(MaterialTheme.colorScheme.surfaceVariant)
          )
        }
      }
      Spacer(Modifier.height(12.dp))
      Row(verticalAlignment = Alignment.Bottom) {
        Text("$74", style = MaterialTheme.typography.headlineSmall)
        Spacer(Modifier.width(8.dp))
        Text("$96", textDecoration = TextDecoration.LineThrough,
          color = MaterialTheme.colorScheme.outline)
      }
    }
  }
}