DocsSearchBar

fun DocsSearchBar(query: String, onQueryChange: (String) -> Unit, modifier: Modifier = Modifier, scrollBehavior: SearchBarScrollBehavior? = null, expandedContent: @Composable ColumnScope.() -> Unit = {})(source)

Search bar for filtering documentation pages by keywords.

A real M3 SearchBar driven by rememberSearchBarState: collapsed it sits inline above the results, and focusing it expands to a full-screen overlay showing expandedContent under the same field.