ComponentsForm Controls

Search Input

Form Controls components with live demos, API references, and tokens.

Search topics that invite discovery

A native Input with rotating trending or recent topics, a typing cursor, and slide transitions. Focus freezes the current topic. Search submits your text, or the complete visible topic when the field is empty.

Search intent stays explicit

The app supplies topics and handles the search event. Animation does not call an API or change the form value. Search Input composes the existing Input; use Autocomplete when you need a result dropdown.

Motion and accessibility

Reduced motion makes the current topic static. Focus, hidden tabs, and offscreen content pause rotation. The optional pause button is hidden by default; enable Show pause control in the playground to try it. The animated layer is decorative; the native input exposes the full topic, a stable accessible label, and a Search keyboard hint.

The field and actions keep 48px interaction targets. The magnifying glass sits in a 32px circular button; optional Search text uses a rounded outline. RTL aligns the placeholder with the native text area. Long labels clip inside that area while controls remain visible. Themes inherit Input and Button styling; ordinary Input styles stay unchanged.