Android components Forms
StanceSearchBar
BetaA search field with a clear button and a search keyboard action.
- PlatformAndroid, Jetpack Compose
- Builds on
OutlinedTextField - Kindcomposable
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
var query by remember { mutableStateOf("") }
StanceSearchBar(query, { query = it }, placeholder = "Search templates")Accessibility
- The clear button has an accessible name.