PRO

Sandy Grain Background

A near-black sandy backdrop where the pointer paints a warm amber glow that slowly burns off under a live film-grain overlay, while a small square cursor dot eases after the pointer and swells over links and buttons.

Component
BLANK

Read your position clearly, then grow with confidence

Install
npx shadcn@latest add https://ui.aryank.space/r/sandy-grain-background.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
baseColorstring"#090703"Backdrop color under the glow and grain.
glowColor[number, number, number][152, 99, 0]Pointer-trail glow color as an RGB triple.
cursorColorstring"#c8b89a"Fill of the square cursor dot.
grainOpacitynumber0.32Opacity of the animated grain overlay.
childrenReact.ReactNodeundefinedContent layered above the backdrop; its links and buttons grow the cursor on hover.
Customize
baseColor / cursorColorcolor

The near-black backdrop and the square cursor dot.

glowColortext

The amber pointer glow as an [r, g, b] triple, blended additively over the backdrop.

grainOpacitytext

Strength of the film-grain overlay, 0 to 1.

Dependencies
None.