Ai Prompt Parameter Switcher
A production-scale, light + dark Ai Prompt Parameter Switcher component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-prompt-parameter-switcherLive preview available in the gallery.
Usage
import { AIPromptParameterSwitcher } from "@lerpa/ui";
<AIPromptParameterSwitcher />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| temperature | number | — | |
| maxTokens | number | — | |
| topP | number | — | |
| onChange | (params: { temperature: number | — | |
| maxTokens | number | - | |
| topP | number }) => void | - | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.