import { ModelSelector } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
modelsreq | Model[] | — | Array of models with id, name, provider, speed, cost, capability |
selected | string | — | Controlled selected model ID |
onSelect | (id: string) => void | — | Selection callback |
modelsrequiredType
Model[]Default —Array of models with id, name, provider, speed, cost, capability
selectedType
stringDefault —Controlled selected model ID
onSelectType
(id: string) => voidDefault —Selection callback
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?