pub fn docked_search_bar() -> DockedSearchBarBuilderExpand description
§docked_search_bar
Show a docked search bar with a results surface below the input.
§Usage
Use for search experiences embedded within existing layouts.
§Parameters
- Parameters are the same as
search_bar, but docked results render below the field instead of taking over the screen.
§Examples
use tessera_components::search::docked_search_bar;
material_theme()
.theme(|| MaterialTheme::default())
.child(|| {
docked_search_bar().is_active(true).content(|| {});
});