Expand description
Default SearchFieldStyle impl + design tokens.
Design tokens for SearchField live as pub consts on this module.
SearchField and SuggestionPanel read them directly when
building the magnifier glyph, the suggestion-list row chrome, and
the popup padding. The suggestion popup surface is routed through
PopoverStyle::Menu; only the row chrome + panel padding remain
SearchField-specific.
Structs§
- Recipe
Search Field Style - Default
SearchFieldStyleshipped with Teksilo. Passthrough — IntUI’s search-field chrome lives insideTextInput’s leading slot + clear button, which are already themed. - Search
Field Recipe - Dimension tokens for
SearchFieldbundled into a copyable struct.
Constants§
- GLYPH_
SIZE - Visual size of the magnifier glyph drawn inside the leading slot.
- GLYPH_
SLOT_ WIDTH - Reserved width of the leading slot — wider than the glyph so it doesn’t sit flush against the field’s leading edge.
- INPUT_
PANEL_ GAP - Vertical gap between the input field and the suggestions popup rendered below it.
- PANEL_
CORNER_ RADIUS - Suggestion popup outer corner radius.
- PANEL_
PADDING - Padding between the popup surface border and the row column.
- ROW_
CORNER_ RADIUS - Per-row hover-highlight corner radius.
- ROW_
HEIGHT - ROW_
PADDING_ HORIZONTAL - ROW_
PADDING_ VERTICAL