Ai Source Card
A production-scale, light + dark Ai Source Card component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-source-cardLive preview available in the gallery.
Usage
import { AISourceCard } from "@lerpa/ui";
<AISourceCard />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | |
| source | string | — | |
| snippet | string | — | |
| url | string | — | |
| index | number | — | |
| relevance | number | — | |
| accent | string | — | |
| type | "web" | "doc" | "code" | "video" | "image" | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.