Skip to content

Model picker - #13

Open
CrackedResearcher wants to merge 3 commits into
mainfrom
model-picker
Open

Model picker#13
CrackedResearcher wants to merge 3 commits into
mainfrom
model-picker

Conversation

@CrackedResearcher

Copy link
Copy Markdown
Owner

No description provided.

CrackedResearcher and others added 3 commits July 23, 2026 17:20
A model picker built on the country picker's architecture: portalled anchored
panel, ranked search, keyboard model, scroll-edge fades. What it adds is the
part specific to choosing a model — capability chips derived from your own
tags, recents, locked models that stay visible and say why, and prices.

Hover, selection, badge and fade treatments are taken from the country picker
rather than reinvented, so the two read as one family. The one deliberate
departure is that section headings do not pin: a pinned heading either lets the
row behind show through it or guillotines that row at an invisible line, which
is worth paying for 198 countries and not for a dozen models.

No runtime dependencies beyond React. Types, price formatting and the meter
scale ship as a separate entry so they can be imported without React.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Adds the docs page, a demo catalogue of real models, and a probe harness for
the states a headless screenshot cannot reach by clicking — open, filtered,
locked, and parked mid-scroll.

The demo's marks are real: ChatGPT and Gemini are served from public/ the way
the country picker's flags are, the rest from the simple-icons CDN. OpenAI's
mark was pulled from that CDN, which is left visible rather than tidied away —
it is the failure any real catalogue eventually hits, and it is what the
initial-letter fallback exists for.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fern-ui Ready Ready Preview, Comment Jul 23, 2026 11:51am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant