Ai Model Selector
A production-scale, light + dark Ai Model Selector component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-model-selectorLive preview available in the gallery.
Usage
import { AIModelSelector } from "@lerpa/ui";
<AIModelSelector />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| models | AIModel[] | — | |
| defaultSelected | string | — | |
| accent | string | — | |
| onChange | (model: AIModel) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.