Shaders, shipped as components.
Animated WebGL backgrounds you install as source. No runtime dependencies, and every parameter exposed as a prop.
The collection
9 shaders, more on the way.
Each card is the real component, running live. Hover to play with the cursor effect, or click through to tune every parameter.
Floating Grove
A low-poly island where trees spring up, sway and reseed.
Moon Terrain
A turquoise moon above rolling terrain and wandering lights.
Dot Globe
A thousand dots turning in perspective.
Smoke
Electric smoke that ripples under your cursor.
Metaballs
Five orbiting blobs that melt into one field.
Mesh Gradient
Soft colour points drifting into one smooth gradient.
Waves
Layered sine bands that bend away from your cursor.
Mesh Drift
Violet blobs drifting backwards through a warped field.
Tunnel
Fly through a rainbow tube of spiralling points.
Plain WebGL1
Hand-written WebGL1, from fullscreen fragment shaders to 3D point clouds. No three.js and no runtime dependencies.
Installs as source
The shadcn CLI copies each shader into components/shaders. Edit the GLSL as much as you like.
Light on battery
Pauses in hidden tabs and offscreen, draws a still frame for reduced motion, and caps DPR at 2.
Cursor-reactive
Push, lens, swirl, ripple or glow under the pointer, with an optional spring follow.
Quick start
One command, then it’s yours.
Every shader is a shadcn registry item. The CLI copies the component, its preset and the shared engine into your project. Override any uniform through props, or open the files and change them.
- 01InstallAdd a shader with the shadcn CLI. The files land in components/shaders.
- 02MountDrop it into any positioned container. It fills the box behind your content.
- 03TuneOverride colours, motion and the cursor effect through props.