searchBarHeight property

double searchBarHeight
final

Height of the pills when search is active. Defaults to 50.0.

In iOS 26 Apple News the search bar is noticeably shorter than the full tab bar (which must accommodate icon + label). This default of 50 replicates that compact, native feel. If you want the bar to remain the same height, explicitly set this to match your barHeight.

The transition is animated with the same easeOut curve used for all other bar morphs.

Implementation

final double searchBarHeight;