@ExperimentalHorologistMediaUiApi @Composable public fun ShowPlaylistChip( artworkUri: Any?, name: String?, onClick: () -> Unit, modifier: Modifier = Modifier, placeholder: Painter? = null, ) { val appIcon: (@Composable BoxScope.() -> Unit)? = artworkUri?.let { { MediaArtwork( modifier = Modifier.size(ChipDefaults.LargeIconSize), contentDescription = name, artworkUri = artworkUri, placeholder = placeholder, ) } } Chip( modifier = modifier.fillMaxWidth(), colors = ChipDefaults.secondaryChipColors(), icon = appIcon, label = { Text( text = name.orEmpty(), overflow = TextOverflow.Ellipsis ) }, onClick = onClick ) }
[Chip] to show all items in the selected category.