Ai System Prompt Editor
A production-scale, light + dark Ai System Prompt Editor component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-system-prompt-editorUsage
import { AISystemPromptEditor } from "@lerpa/ui";
<AISystemPromptEditor />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| defaultPrompt | string | — | |
| templates | SystemPromptTemplate[] | — | |
| accent | string | — | |
| maxLength | number | — | |
| onSave | (text: string) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.