Ai Prompt Version History
A production-scale, light + dark Ai Prompt Version History component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-prompt-version-historyLive preview available in the gallery.
Usage
import { AIPromptVersionHistory } from "@lerpa/ui";
<AIPromptVersionHistory />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| versions | PromptVersion[] | — | |
| accent | string | — | |
| promptName | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.