> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Search form

> Add a native search button and search form to the top navigation bar that sends search terms to your website's search URL.

Add a native search button with an embedded search form to the top navigation bar. It sends what users type to your existing web-based search.

> [!NOTE]
>
> **Search URL format**
>
> Search terms are appended to the URL you enter. For example, for Google you'd enter `https://www.google.com/?q=`.

![iOS app with the native search field open in the navigation bar, a search term entered and the keyboard showing](https://mintcdn.com/median-co/dZQPJ_0wlG7WNBTy/images/docs/20e3b9b-native_search_ios.png?fit=max\&auto=format\&n=dZQPJ_0wlG7WNBTy\&q=85\&s=3233301af6b8864a8c9f9c3b3907595c)

iOS – native search form

![Android app with the native search field open in the action bar, a search term entered and the keyboard showing](https://mintcdn.com/median-co/dZQPJ_0wlG7WNBTy/images/docs/45290b6-native_search_android.png?fit=max\&auto=format\&n=dZQPJ_0wlG7WNBTy\&q=85\&s=af53204b9b655d9e480a60c2bf3a7bed)

Android – native search form

Native search adds a magnifying glass button to the [top navigation bar](https://docs.median.co/docs/top-navigation-bar) (Android ActionBar and iOS NavigationBar). When users tap the search icon, they can enter `[search terms]`. The `[search terms]` are appended to the Template Search URL you specify.

For example, all Google.com searches can be represented using the URL syntax `https://www.google.com/#q=[search terms]`.


## Related topics

- [Top navigation bar](https://docs.median.co/docs/top-navigation-bar.md)
- [Publishing FAQ](https://docs.median.co/docs/faq-publishing.md)
- [Add haptic feedback to your Lovable app](https://docs.median.co/docs/add-haptic-feedback-to-your-lovable-app.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.