Navigation
SKBottomSheet
SKBottomSheet handles partial, expanded and hidden detents, nested scrolling and edge-to-edge insets so sheets behave correctly on gesture-navigation devices.
Not yet released. SKBottomSheet is planned for 1.6.0; the current published release (1.4.0-alpha01) ships SKText and SKTextField only.
Usage
SKBottomSheet.kt
SKBottomSheet(
state = sheetState,
detents = listOf(SKDetent.Half, SKDetent.Full),
onDismiss = ::close
) {
FilterPanel()
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
| state | SKSheetState | — | Hoisted open/detent state. |
| detents | List<SKDetent> | [Full] | Allowed stop points. |
Accessibility
Drag handle exposes expand/collapse actions to assistive tech; focus moves into the sheet on open.
Theming
Corner radius and scrim from SKTheme.
API surface
- SKBottomSheet
- SKSheetState
- SKDetent