Model Context Switcher
Pick a model and the selection pill glides to meet your choice.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
options | ModelOption[] | - | Model options to list. Falls back to built-in Wensity Fast / Thinking / Creative / Research. |
value | string | - | Controlled selected option id. |
defaultValue | string | - | 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. |
triggerLabel | string | - | Optional label rendered before the model name in the trigger. |