Pick the model a chat answers with, grouped by provider, each with its mark, built on Base UI.
View as MarkdownInstallation
Component API
| Prop | Type | Default | Description |
|---|---|---|---|
models | Model[] | - | The models to pick from, grouped by provider. |
The models to pick from, grouped by provider. | |||
defaultValue | string | - | The model picked at the start. |
| The model picked at the start. | |||
value | string | - | |
onValueChange | (id: string) => void | - | Called with the picked model's id. |
| Called with the picked model's id. | |||
compact | boolean | false | On phones the trigger shows only the mark. |
| On phones the trigger shows only the mark. | |||
size | sm | md | lg | sm | Trigger and list size together. |
| Trigger and list size together. | |||
shape | none | rounded | pill | rounded | |
disabled | boolean | false | Blocks picking and dims the trigger. |
| Blocks picking and dims the trigger. | |||
animated | boolean | true | |
className | string | - | |
focus | boolean | string | true | |
container | HTMLElement | null | - | |