CarouselVerticalAlignment

Controls the vertical placement of item content inside the Carousel, consistently across all variants (CarouselVariant.SlideShow, CarouselVariant.Theatre, CarouselVariant.Overflow).

Using a dedicated sealed class instead of androidx.compose.ui.Alignment.Vertical ensures the API is honest: only values that are actually honoured by all variants are exposed, preventing silent coercion of unsupported alignment values.

Inheritors

Types

Link copied to clipboard

Place item content at the bottom of the available height.

Link copied to clipboard

Place item content at the vertical centre of the available height. This is the default.

Link copied to clipboard

Place item content at the top of the available height.