Search with Autocomplete - React
Build a search input that shows a live dropdown of autocomplete suggestions. Suggestions are either fetched from an API or filtered from a static list on each debounced keystroke. Support full keyboard navigation (↑↓ arrows to move highlight, Enter to select, Escape to close). Close dropdown on outside click.