Type to filter, arrow keys preview a model
Fable 5 · effort Medium
A searchable model list with price bars and a detail footer for the highlighted model.
Click the model to open a Base UI combobox. Type to filter. Arrow keys move the highlight and the footer follows it. With one model it shows a static label.
Options for the assembled component.
catalog*ModelCard[]Models to offer.
value*ModelSelectionSelected model key and effort.
onChange*(next: ModelSelection) => voidKeeps the effort when the new model supports it.
disabledbooleanBlocks the trigger.
composer/parts/model-picker.tsxTrigger, search, list and footer.
composer/parts/model-detail.tsxContext, output and price of one model.
components/ui/base/combobox.tsxBase UI Combobox with the search inside the popup.
Ported from the agent-builder prompt composer, popups rebuilt on Base UI.
Type to filter, arrow keys preview a model
Fable 5 · effort Medium