This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
SearchBar
A Jetpack Compose SearchBar component for search input functionality.
Android
Included in Expo Go
Recommended version:
~56.0.26
Expo UI SearchBar matches the official Jetpack Compose Search API and provides a search input with support for placeholder text and expanded full-screen search.


Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Basic search bar
BasicSearchBarExample.tsx
Search bar with placeholder
Use the SearchBar.Placeholder sub-component to display hint text when the search field is empty.
SearchBarPlaceholderExample.tsx
API
import { SearchBar } from '@expo/ui/jetpack-compose';
No API data file found, sorry!