Generative UI Demo: highlight-input Auto-Generates Interactive Cards from Input
The highlight-input project showcases a generative UI pattern where a single input box automatically renders interactive cards for natural language queries and slash commands, using Vercel's UI SDK, Exa search for real-time data, and separate model/template rendering paths.
Reading font

Project Overview
A demo video of highlight-input attracted a retweet from Vercel CEO Guillermo Rauch. Built by @kostyniuk00 with Vercel's UI SDK ( @uisdk), the project offers a glimpse of future generative UI: an input box that instantly spawns structured cards below it without page reloads or navigation.
Core Interaction
The entire interface centers on one input field. Typing a line and pressing Enter causes a card to appear underneath. Typing a line starting with / transforms the card into a comparison table — all in the same view, no full-page refresh.
Demo Examples
Natural language query: "How is Anthropic doing since the IPO?" → generates an Anthropic company card with news and data.
Natural language query: "What has Vercel shipped lately?" → generates a Vercel updates card.
Slash command: /compare Netflix vs Spotify on margins → generates a side-by-side profit-margin comparison table.
Data Sources
News-style data is fetched in real time from Exa search . The comparison table uses placeholder numbers; the page explicitly labels them for this demo .
Command System
The / prefix triggers command autocompletion, mimicking a terminal experience. Natural language and slash commands are handled by separate pipelines:
Natural language → sent to the model for generative card creation.
Slash commands → rendered via predefined templates.
Both capabilities converge in the same input box.
Architecture & Production Considerations
Each card generation constitutes a full model call. Moving this pattern to production will require solving cost, latency, and failure-recovery challenges, but the interaction model is likely to gain rapid adoption.
Reference
Live demo:
https://highlight-input.vercel.appAbout this article
For attribution, corrections or content rights, contact