React quickstart
Add your first shader to a React app in under two minutes.
Vanilla JS quickstart
Use shaders in any framework — or no framework at all.
Browse shaders
Explore all 28 shaders: gradients, noise, patterns, and image filters.
API reference
Full TypeScript API for ShaderMount, sizing, and all shader parameters.
Why Paper Shaders?
Zero dependencies
Pure WebGL2 — no Three.js, no PIXI, no runtime overhead. Each shader is a self-contained fragment shader string.
Animated by default
Control speed, direction, and frame offset. Set
speed={0} for a static, zero-cost render.Fully typed
Every shader exposes TypeScript param and uniform types extracted directly from source.
SSR safe
Undefined uniforms are gracefully skipped, so shaders render without errors during server-side rendering.
Image filters
Apply fluted glass, water distortion, dithering, heatmap, liquid metal, and halftone effects to any image.
Designed in Paper
Configure shaders visually in the Paper design tool and export directly to production-ready code.
Get started
Install the package
Choose the package for your stack.
Pin your dependency version. Paper Shaders ships breaking changes under
0.0.x versioning while the API stabilises.Customise with props
Every shader exposes typed props for colors, speed, distortion, sizing, and more. See the shader reference for all options.