Ai Prompt Suggestions
A production-scale, light + dark Ai Prompt Suggestions component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-prompt-suggestionsUsage
import { AIPromptSuggestions } from "@lerpa/ui";
<AIPromptSuggestions />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| suggestions | PromptSuggestion[] | — | |
| accent | string | — | |
| title | string | — | |
| onSelect | (s: PromptSuggestion) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.