Skip to main content
Version: Next

SearchBar

visible#

TypeRequiredPlatformDescription
booleanNoiOSDetermines if SearchBar is visible or not

focus#

TypeRequiredPlatformDescription
booleanNoiOSAuto focuses search bar

hideOnScroll#

TypeRequiredPlatformDescription
booleanNoiOSHides the UISearchBar when scrolling.

hideTopBarOnFocus#

TypeRequiredPlatformDescription
booleanNoiOSIndicates whether the navigation bar should be hidden when searching. True by default.

obscuresBackgroundDuringPresentation#

TypeRequiredPlatformDescription
booleanNoiOSA Boolean indicating whether the underlying content is obscured during a search.

backgroundColor#

TypeRequiredPlatformDescription
ColorNoiOSThe background color of the UISearchBar's TextField.

tintColor#

TypeRequiredPlatformDescription
ColorNoiOSThe tint color of the UISearchBar. Affects text selection color, as well as "Cancel" button color.

searchBarPlaceholder#

TypeRequiredPlatformDescription
stringNoiOSThe placeholder value in the UISearchBar.

cancelText#

TypeRequiredPlatformDescription
stringNoiOSThe text value of "Cancel" button in the UISearchBar.