Ai Chat Message Actions
A production-scale, light + dark Ai Chat Message Actions component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-chat-message-actionsLive preview available in the gallery.
Usage
import { AIChatMessageActions } from "@lerpa/ui";
<AIChatMessageActions />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | — | |
| textToCopy | string | — | |
| onCopy | () => void | — | |
| onRegenerate | () => void | — | |
| onEdit | () => void | — | |
| onShare | () => void | — | |
| onLike | () => void | — | |
| onDislike | () => void | — | |
| onSpeak | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.