SearchBox (am-search-box)
SearchBox renders a labeled search input and submit button inside a native GET form. The consumer supplies the route that receives the query and owns indexing, result matching, ranking, recent searches, and analytics.
Contract
Section titled “Contract”action, visiblelabel, and search-landmarkariaLabelare requirednamedefaults toq;submitLabeldefaults toSearchplaceholderand a server-renderedqueryvalue are optional- The form always uses
method="get"andtype="search"; no client-side query state or result UI is included - The consumer owns the destination route and its behavior
<SearchBox action="/search/" label="Search this library" ariaLabel="Games Atlas search" name="q" placeholder="Search games and guides"/>