Provide a single-line search field with an icon for filtering lists, pages, and toolbar content.
How to use
Use SearchInput for direct query entry, such as searching a list. Use SearchBox to open a global search popup. The host filters the data. For DataTable, prefer the TableToolbar search control.
bind:value keeps the input text in sync; the page decides how that query filters application data.
The default as="search" role can place it in the search region of Listbox or Popover. Inside an existing surface, borderless avoids a second border and background.
Default search icons use opacity 0.2 at rest and 0.4 on focus with an opaque theme color. The owned icon public style prevents the generic Input leading color from multiplying alpha. --snowui-search-input-icon-color-override accepts an opaque color; state opacity still applies. External leading icons are unaffected.