This is a port of the Mobile Search extension originally created for Flarum 1.x that was being maintained by Link Robins. This version is rebuilt for Flarum 2.x.
On mobile, the extension adds a search button to the discussion list toolbar, right next to the sort order dropdown. Tapping it opens the standard Flarum 2.x search modal.
Admin setting
The only addition made beyond porting the extension over and using Flarum's new search modal, was one admin option: Mobile search style.
- Full-width search bar (default) — a search field fills the toolbar next to the sort dropdown.
- Magnifying glass icon only — a compact icon button in the same style as the refresh and mark-read buttons.
Full Width Search Bar

Icon button only

Installation
Requires Flarum 2.0+
composer require resofire/mobile-search
Or install with resofire/mobile-search in Extension Manager.
Links
Github
Packagist