About
A generative placeholder cover image drawn deterministically from a seed (id, name, or slug) using the theme's chart colors as color fields, rings, bars, dots, or waves, for cards, avatars, or profile covers that have no real image.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Cover Art to your project and fits it to your theme.
Code
How Cover Art is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { CoverArt, type CoverArtVariant } from "@/components/ui/cover-art";
const variants: CoverArtVariant[] = ["mesh", "rings", "bars", "dots", "waves"];
export default function CoverArtDemo() {
return (
<div className="grid w-full max-w-3xl grid-cols-2 gap-3 sm:grid-cols-3">
{variants.map((variant, i) => (
<figure key={variant} className="grid gap-1.5">
<CoverArt
seed={`demo-${i}`}
variant={variant}
grid={variant === "mesh"}
className="aspect-video rounded-xl border"
/>
<figcaption className="text-muted-foreground text-center text-xs">
{variant}
</figcaption>
</figure>
))}
</div>
);
}








