Shaders for JavaScript, no framework required.
200+ shader components, TypeScript ready. Compose in your codebase, or design in the editor and export for JavaScript.
Works with Vite, Webpack, Web Components and plain HTML
Ship a shader as easily as you ship a button.
Every effect in Shaders is a plain JavaScript component. Install the package, import createShader, and pass it a canvas and a list of components. Props are type-safe with the included TypeScript declarations, and any prop can be updated at runtime. Works with Vite, Webpack, Web Components and plain HTML.
glass-background.js
<canvas id="glass-background">
Mix and match components
Stack, nest, mask and blend them to design new unique looks.
Production-ready
Every component is optimized for performance out of the box.
Update at runtime
Change any prop with shader.update(). Drive animations from your own code.
Design in a pro-grade editor. Export to your codebase.



























































































































































































