Documentation Index
Fetch the complete documentation index at: https://mintlify.com/paper-design/shaders/llms.txt
Use this file to discover all available pages before exploring further.
Pin your dependency to an exact version. Paper Shaders ships breaking changes under
0.0.x versioning while the API stabilises. Use "@paper-design/shaders-react": "0.0.72" in your package.json.Add your first shader
Import The props above reflect the
MeshGradient and drop it into your component. The shader fills its container — give the parent (or the component itself via style) a width and height.defaultPreset values shipped with MeshGradient. They are all optional — omit any prop to use its default.Explore presets
Every shader exports a All other shaders follow the same pattern — import
presets array with curated parameter sets. Spread a preset’s params directly onto the component to apply it.<ShaderName>Presets alongside the component.Customise
Adjust colors, speed, and distortion to match your design. Set For the full list of
speed={0} to produce a static image with no animation loop running — useful for decorative elements where motion is unwanted.MeshGradient props including sizing controls (fit, scale, rotation, offsetX, offsetY), see the MeshGradient reference.