Skip to main content

CamoBottomSheet

A bottom sheet's content: the skin's container, handle, optional title and close button around content. Put it in a CamoSheetFrame (or, from M6, a sheet route); it scrolls nothing itself, so give long content its own scroll. Screen readers hear it as a pane named title, with a dismiss action when it's dismissible.

API​

public fun CamoBottomSheet(
modifier: Modifier = Modifier,
title: String? = null,
content: @Composable () -> Unit,
)
NameTypeDefault
modifierModifierModifier
titleString?null
content@Composable () -> Unitrequired
Design notes

Why CamoBottomSheet works this way, its states and its edge cases: contributor docs.