An interactive background featuring tiny pixel particles that ripple outward from the center on hover, then fade away.
Made by LéoInstallation
Pro
This component is part of Unlumen Pro
Includes advanced motion, patterns, and premium support.
Get Started
Maybe later
Thanks 🙏
Examples
Grid
Usage
API Reference
PixelBackground
gap?number5Gap in pixels between each particle on the canvas grid.
speed?number35Animation speed from 0 (stopped) to 100 (maximum).
pattern?"center" | "top" | "bottom" | "left" | "right" | "diagonal" | "ascend" | "edges" | "spiral" | "cursor" | "random""center"Controls the reveal animation direction and style.
darkColors?string"#2a2a2a,#3b3b3b,#525252"Comma-separated hex colors used in dark mode.
lightColors?string"#d4d4d4,#bdbdbd,#a3a3a3"Comma-separated hex colors used in light mode.
children?React.ReactNode—Content rendered on top of the pixel canvas.
...props?React.ComponentProps<"div">—All other props are forwarded to the wrapping div.
Credits
- Special thanks to React Bits for the inspiration, particularly the original Pixel Card component.