Compose Component

SearchBar

Material Design search A search bar represents a field that allows users to enter a keyword or phrase and get relevant information.

SearchBar social preview

SimpleSearchBarSample

@Preview
@Sampled
@Composable
fun SimpleSearchBarSample() {
    val searchBarState = rememberSearchBarState()
    val textFieldState = rememberTextFieldState()
    val scope = rememberCoroutineScope()
    val inputField =
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: