# Search Results — React Native screen for Expo

A clean, monochrome search screen: a compact pinned search field, one scrolling row of filter chips (Filters sheet, sort, price, rating, free delivery, open now), tight list rows with neutral thumbnails, rating, distance and price, Recent and Trending while the field is empty, skeleton rows while searching and a compact “No results” state — with a subtle staggered entrance that respects Reduce Motion.

- Docs: https://expokit.in/docs/blocks/search-results
- Tier: Pro (ExpoKit Pro plan)
- Also called: search screen, search results list, filter and search UI
- Category: Blocks
- Platforms: iOS, Android, web
- Expo Go: yes, no development build needed
- npm dependencies: expo-haptics, react-native-gesture-handler, react-native-reanimated, react-native-worklets, react-native-svg
- Uses ExpoKit items: kit, bottom-sheet, button, radio-group, search-bar, skeleton, slider
- Variants: Default, Loading, Empty Query, No Results, Dollars, Custom Accent

## Installation

This screen is part of ExpoKit Pro. With a Pro plan, log the CLI in once and add it like any other item:

```bash
npx @expokit/cli@latest login
```

Plans: https://expokit.in/pricing

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `results` | `{ id, title, subtitle?, rating, reviews?, price, distance?, freeDelivery?, open?, color?, icon? }[]` | `6 coffee results (₹)` | Results for the current query. Filtered and sorted locally. |
| `defaultQuery` | `string` | `'coffee'` | Initial query in the field and the result count. Empty shows Recent and Trending. |
| `totalCount` | `number` | `128` | Backend total shown while no filter is active. |
| `loading` | `boolean` | `false` | Skeleton rows and a spinning search icon. |
| `filters` | `('price' \| 'rating' \| 'free-delivery' \| 'open')[]` | — | Controlled quick filters. |
| `defaultFilters` | `SearchFilter[]` | `[]` | Initial filters when uncontrolled. |
| `onFiltersChange` | `(filters) => void` | — | Chips or the sheet changed the filters. |
| `recentSearches / trendingSearches` | `string[]` | `3 / 4 samples` | Shown while the field is empty (recent as rows with Clear, trending as chips). Submitted searches join Recent. |
| `onSearch` | `(query: string) => void` | — | Submitted from the keyboard, a recent / trending search or a no-results chip. |
| `onSelect` | `(result) => void` | — | A result row was tapped. |
| `onClearRecent` | `() => void` | — | Clear next to Recent was tapped. |
| `autoFocus` | `boolean` | `false` | Focus the field on mount. |
| `currency` | `string` | `'₹'` | Symbol placed before prices by the default formatter (Indian digit grouping, decimals only when non-zero). |
| `formatPrice` | `(amount) => string` | `'₹1,23,456'` | Money formatter for rows, chips and the slider. Overrides currency — use for Intl, other grouping or suffix symbols like '12,50 €'. |
| `maxPrice` | `number` | `2000` | Top of the price-range slider; the top value reads as "and up". |
| `tintedThumbnails` | `boolean` | `false` | Tint thumbnails with each result's color instead of the neutral default. |
| `accent` | `string` | `theme accent` | Active chip, slider and button colour (black in light, white in dark by default). |
| `style` | `StyleProp<ViewStyle>` | — | Root style. |
| `className` | `string` | — | Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides. |

## FAQ

### How do I make a search screen in React Native?

Use ExpoKit's Search Results, a Pro screen: with ExpoKit Pro, the ExpoKit CLI copies a ready-made search screen into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.

### Does Search Results work in Expo Go?

Yes. Search Results runs in Expo Go on iOS and Android with no development build — its packages (expo-haptics, react-native-gesture-handler, react-native-reanimated, react-native-worklets, react-native-svg) are all included in Expo Go.

### How do I add Search Results to my Expo app?

With ExpoKit Pro, add it with the ExpoKit CLI: it copies the screen's source into your app and installs expo-haptics, react-native-gesture-handler, react-native-reanimated, react-native-worklets, react-native-svg, so the code is yours to change. The install command is on this page for Pro members.

### Is Search Results free?

Search Results is part of ExpoKit Pro. With a Pro plan, log the CLI in once and it installs the full source into your app.

### Can I change how Search Results looks?

Yes. It takes its colours, radius and light / dark mode from useKit(), so wrapping your app in <KitProvider accent radius> re-skins it with every other ExpoKit screen. The code lives in your project, so you can also edit anything directly.

## More

- Live preview, variants and code: https://expokit.in/docs/blocks/search-results
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
