Highlight Input is a TypeScript chat input component that detects company names, stock tickers, topics, and commands inline as a user types. It brings structured entity recognition and contextual news previews directly into conversational text fields.
The component ships with 27 built-in companies and supports ticker formats such as NVDA or $NVDA, while falling back to live lookup via Exa to resolve any other listed company. As a user finishes typing a recognized company name, it transforms into a brand-colored pill that can be reverted immediately using Escape or Cmd+Z. Selecting a company opens a panel populated with real news from the past month, though the README notes that its Compare table currently relies on sample numbers.
Frontend developers building chat inputs that recognize companies, tickers, topics, and commands in TypeScript can explore or adapt this component for inline entity tagging.
Before you startThe README says
Runs on
Web app built with Next.js, run locally with npm
Needs
npm; an EXA_API_KEY for live company lookups, otherwise a saved list of about 50 companies is used
Accounts or paid services
An Exa API key from the Exa integration on Vercel; a Vercel account for vercel env pull
How you get it
Run npm install, vercel env pull, then npm run dev
Not yet
Compare tab uses sample numbers; without Exa, panels show labelled sample data
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.
A TypeScript and JavaScript Entity Component System framework featuring archetype storage, typed queries, deterministic scheduling, and multithreaded execution.