Skip to content

ModelSelector

stablev1.0.0

Model comparison dropdown or inline panel for Claude model family. Each option shows capability tags, context window size, latency indicator, and cost tier badge. Supports dropdown and full panel variants.

ai-agentInteractive/Storybook ↗
import { ModelSelector } from "@nodus/design-system"
Loading demo…

Props

optionsrequired
Type ModelOption[]Default

Array of model options with capability metadata.

value
Type stringDefault

Currently selected model ID.

onChange
Type (modelId: string) => voidDefault

Called when user selects a model.

variant
Type "dropdown" | "panel"Default "dropdown"

Dropdown (floating) or inline panel rendering.

label
Type stringDefault "Model"

Field label.

disabled
Type booleanDefault false

Disable the selector.

Metadatadropdownpanelsemantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?