suiss/ui · AI
Model Selector
Two menus in the prompt input: one picks the model the agent runs, the other picks how much effort it spends.
The model selector is two Dropdown Menu radio groups in the Prompt Input. One picks the model, grouped by provider, and the other picks the reasoning effort. Each trigger shows the current choice.
Installation
The model selector is built with Dropdown Menu and Input Group.
Or use the suiss/ui CLI:
Usage
Set closeOnClick on each radio item so the menu closes once a model is picked.
Set closeOnClick on each radio item so the menu closes once a model is picked.
Use one radio group per provider, and set shouldCloseOnSelect on each radio item so the menu closes once a model is picked.
Give each trigger an aria-label that includes the current choice, such as "Model: Claude Opus 5.5", so the value is announced along with what the menu changes.
AI SDK
Send the model and the effort with the message. Map them to a model and provider options in the route.
Each provider reads its own key in providerOptions and ignores the rest.
API Reference
See Dropdown Menu and Input Group.
Model Selector on mobile is built from the same parts as on the web: Dropdown Menu, Button. The example above is a static demo; connect it to your agent by rendering the same parts from your messages.
Installation
API Reference
See Dropdown Menu, Button.