@Composable
fun ContactListDemo() {
val names =
"Aurora, Aria, Asher, Benjamin, Bianca, Beatrix, Caleb, Clara, Chloe, Daniel, Delilah, Diana, Elijah, Emily, Evangeline, Finnegan, Freya, Fiona, Gabriel, Grace, Gwendolyn, Henry, Harper, Helena, Isaac, Isabella, Ivy, James, Jasmine, Juliette, Kieran, Katherine, Kai, Liam, Lily, Luna, Mason, Madison, Maya, Noah, Natalie, Nora, Oliver, Olivia, Octavia, Peter, Penelope, Phoebe, Quentin, Quinn, Ryan, Rachel, Rose, Samuel, Sophia, Scarlett, Thomas, Taylor, Thea, Uriah, Uma, Victor, Violet, Vanessa, William, Willow, Wren, Xavier, Xena, Yasmine, Yara, Zachary, Zoe, Zara"
val contacts = names.split(", ").map { Contact(it,lucide.user_round) }
CxContactList(
contacts = contacts,
scrollingBubbleColor = Color(0xFF73D3BB),
scrollingBubbleTextStyle = MaterialTheme.typography.titleLarge.copy(
fontSize = 18.sp,
color = Color.White,
),
alphabetScrollerTextStyle = TextStyle(
fontSize = 11.sp,
lineHeight = 21.sp,
fontWeight = FontWeight(400),
color = Color(0xFFB5B5B5),
textAlign = TextAlign.Center,
),
charStyle = TextStyle(
fontSize = 20.sp,
fontWeight = FontWeight(400),
color = Color(0xFF8B37F7),
),
nameTextStyle = TextStyle(
fontSize = 18.sp,
fontWeight = FontWeight(500),
color = Color(0xFF333333),
),
iconSize = 46.dp
)
}