Model Context Switcher

Pick a model and the selection pill glides to meet your choice.

Loading preview...

Props

PropTypeDefaultDescription
optionsModelOption[]-Model options to list. Falls back to built-in Wensity Fast / Thinking / Creative / Research.
valuestring-Controlled selected option id.
defaultValuestring-Default selected id when uncontrolled (falls back to the first option).
onChange(id: string) => void-Fired when the selected model id changes.
size"sm" | "md""md"Visual size of the trigger button.
triggerLabelstring-Optional label rendered before the model name in the trigger.