ProHover
Grain Card
A card with a slow film-grain gradient behind its content.
Usage
import { GrainCard } from "./GrainCard";
<GrainCard />
About
A card with a slow film-grain gradient behind its content — two soft lights that drift and lean toward the cursor. One self-contained React file drawing with WebGL2, inline styles, no dependencies; it pauses while off-screen.
What you get
- Rebuild prompt
One paste into Claude Code, Cursor, Codex or v0 rebuilds it byte for byte.
- Source
GrainCard.tsx — plain React and CSS, every comment kept.
- Vite project
A ready-to-run project with this exact example and pinned versions — unzip, install, run.