Typeahead

Primitive #13

🔍 Problem it solves

In long dropdowns or selects, users want to type a few characters to jump to an item (e.g., typing "j" jumps to "John"). Without this, they have to scroll endlessly or use the mouse.

✅ Solution

Buffers keystrokes, matches them against item labels (case‑insensitive), and scrolls to / selects the matching item. Resets the buffer after a short timeout (default 500ms).

🧩 Used by components

Select, Combobox, Menu, Listbox, Dropdown, CommandPalette

🎮 Interactive demo