Compositions
Core Primitives
Transitions
Typography
Customize
80
1
Installation
$ pnpm dlx shadcn@latest add @framecn/mesh-gradient-bg
Usage
import { MeshGradientBackground } from "@/components/framecn/mesh-gradient-bg";<MeshGradientBg />API Reference
MeshGradientBg
| Prop | Type | Default |
|---|---|---|
colors | string[] | ["#ff0080", "#7928ca", "#00d4ff", "#ffb800"] |
speed | number | 1 |
blur | number | 80 |
background | string | "#0a0a0a" |
className | string | - |
fps | number | 30 |
durationInFrames | number | 150 |
width | number | 1280 |
height | number | 720 |
Notes
Noise-driven gradient movement
Color blobs drift on noise-driven coordinates creating a living, organic gradient effect. Great for backgrounds.