Cards
Cards

Team Member

Team member card with role, social links, and a clean centered layout.

MR
Mara Reyes
Engineering Lead

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 TeamMemberCard() {
    Card(
        modifier = Modifier.width(240.dp),
        shape = RoundedCornerShape(20.dp)
    ) {
        Column(
            Modifier.padding(20.dp).fillMaxWidth(),
            horizontalAlignment = Alignment.CenterHorizontally
        ) {
            Box(
                Modifier.size(72.dp).clip(CircleShape)
                    .background(MaterialTheme.colorScheme.primary),
                contentAlignment = Alignment.Center
            ) {
                Text(
                    "MR",
                    color = MaterialTheme.colorScheme.onPrimary
                )
            }
            Spacer(Modifier.height(12.dp))
            Text(
                "Mara Reyes",
                style = MaterialTheme.typography.titleMedium
            )
            Text(
                "Engineering Lead",
                style = MaterialTheme.typography.bodySmall,
                color = MaterialTheme.colorScheme.onSurfaceVariant
            )
            Spacer(Modifier.height(12.dp))
            Row {
                Icon(
                    Icons.Default.Mail,
                    contentDescription = "Email",
                    modifier = Modifier.size(18.dp)
                )
                Spacer(Modifier.width(16.dp))
                Icon(
                    Icons.Default.Person,
                    contentDescription = "Profile",
                    modifier = Modifier.size(18.dp)
                )
            }
        }
    }
}