Components / AI components / Model settings
Model controlsExperimental alpha

ModelSelector

A compact, searchable model picker grouped by provider.

ModelSelector preview

Loading example…

Interactions use local sample data.

Usage and props

The host validates the chosen model when the request runs.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

models · value · onValueChange · label? · disabled?
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard