Skip to content

Search Box

An animated, iOS-style search bar for React Native. No dependencies, no native code. Every demo on this site runs live, next to its full source.
Live demo, try it.Open full screen ↗

The phone runs the real component. Change an option and copy the JSX from the dark panel.

Terminal window
npm install react-native-search-box
import Search from 'react-native-search-box';
<Search onSearch={(text) => find(text)} />;

No dependencies

Plain JavaScript. Works in Expo Go and needs no linking.

Typed

Written in TypeScript. Types ship with the package.

Search as you type

searchDelay runs the search when typing stops.

Compatible

The props and methods of 0.0.20 still work.