Noise Grain Vignette
Flickering film grain over a warm centre glow with darkened corners, like a projected still; grain jumps in steps, never tweens.
backgroundnoisegrainvignettefilm
Installation
Run the shadcn CLI in a project with Tailwind CSS. The component lands in components/pixelpapa/bg-noise-grain-vignette.tsx.
$pnpm dlx shadcn@latest add "https://pixelpapa.com/r/bg-noise-grain-vignette.json"Manual install+
1. No extra packages needed.
2. Copy the code from the Code tab above into your project. It imports the cn helper from @/lib/utils, which every shadcn project already has.
Build it with AI
Prefer to let an agent do the wiring? Copy this prompt, describe where the component should go, and paste.
AI prompt
Paste into Claude, Cursor, v0 or Lovable
Add the "Noise Grain Vignette" component from PixelPapa UI to this project. What it is: Flickering film grain over a warm centre glow with darkened corners, like a projected still; grain jumps in steps, never tweens. Category: Backgrounds. Depends on: no extra packages. 1. Install it with the shadcn CLI: npx shadcn@latest add "https://pixelpapa.com/r/bg-noise-grain-vignette.json" (If the CLI is unavailable, fetch that URL, write files[0].content to components/pixelpapa/bg-noise-grain-vignette.tsx and install the listed dependencies.) 2. Import it from "@/components/pixelpapa/bg-noise-grain-vignette" and place it where I describe below. 3. Keep its animation timings and accessibility attributes. Replace the demo copy and data with content that fits my product, and use my existing theme tokens (bg-background, text-foreground, bg-primary, border-border) rather than hard-coded colours. Where to use it: <describe the page and position here>
More backgrounds
- Animated Grid LinesA perspective floor of grid lines that scrolls toward the viewer forever, with light pulses racing down a few of the lines.
- Aurora BackgroundSlow drifting colour ribbons behind your content, built from blurred gradients with no canvas.
- Beams Light RaysSoft light rays fan out from above and sway a few degrees while breathing in brightness, with dust motes drifting through them.
- Dot Grid SpotlightA quiet dot grid where a soft light trails the cursor and swells the dots it passes over; it wanders on its own when idle.
- Flow FieldHundreds of canvas particles ride a slowly shifting vector field and leave fading silk trails in your theme colours.
- Gradient Mesh BlobsFive saturated blobs wander on separate looping paths and melt into a mesh gradient, while one extra blob follows the cursor on a spring.