Primitives
Search input
A wrapper that reserves room inside an input for a magnifier and positions it. The glyph is the consumer's; only the room is the language's.
Nothing here restyles the field - it is .axi-input with its left
padding widened, so a search box and a text box stay the same control. The
icon is accent-inked, aria-hidden and pointer-events: none, because it
is decoration over a field and must not intercept the click that focuses it.
It sits at the same measure as the input, so give the wrapper the width.
Search inside a toolbar
<div class="axi-search" style="max-width: 260px">
<span class="axi-search__icon" aria-hidden="true"><svg class="axi-icon"><use href="#axi-search"/></svg></span>
<label class="axi-sr-only" for="search-demo">Search</label>
<input class="axi-input" id="search-demo" placeholder="Search…">
</div>