Compose Component

HorizontalCenteredHeroCarousel

Material Design center-aligned hero carousel A horizontal carousel that centers at least one large item between two small items.

HorizontalCenteredHeroCarousel social preview

HorizontalCenteredHeroCarouselSample

@Preview
@Sampled
@Composable
fun HorizontalCenteredHeroCarouselSample() {

    data class CarouselItem(
        val id: Int,
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: