PdfNavigationControls
fun PdfNavigationControls(state: PdfViewState, modifier: Modifier = Modifier, contentColor: Color = Color.White, containerColor: Color = Color(0xB3222222), textStyle: TextStyle = TextStyle.Default)
Previous / "x of y" / next pill. Buttons auto-disable at the ends.
Float it over the pages via PdfView's overlay slot:
overlay = { s -> PdfNavigationControls(s, Modifier.align(Alignment.BottomCenter).padding(16.dp)) }Content copied to clipboard
…or place it anywhere outside the viewport — it only needs the state.