Shaders (WebGPU)
lastmod 2026-11-17created 2026-11-171 edits
Shaders is a library of WebGPU shader effect components made by Shader Effects, Inc. It adds gradient, noise, glass, metal, light, distortion, transition, blur, and cursor effects to web pages as React, Vue, Svelte, Solid, or plain JavaScript components. The workflow centers on designing an effect in the design editor on shaders.com and exporting it directly as component code.
About
-
<Shader>draws the canvas, and its child components become layers. Layers are composited on the GPU from top to bottom and can be nested, blended, and masked - More than 200 effects. Props are the same across frameworks, with TypeScript types and SSR safety
- The design editor lets you stack components on an infinite canvas, animate props with controls, the cursor, and a timeline, and see the result in real time. Export Code produces code for the chosen framework; it is free with an account
- The CLI (
npx shaders) connects a codebase to a Shaders project (connect), writes component files (install), finds presets from a plain-language description (search), and pulls in changes from the editor (update). Installed items are recorded in a lock file - A skill for coding agents (
npx shaders skillornpx skills add shader-effects-inc/shaders) and an MCP server (npx shaders@latest install-mcp) let Claude Code, Cursor, Codex, and others find, install, and modify effects. There is also anllms-full.txtcontaining the full component reference - You can make your own components by writing props and pixel calculations (WGSL) in
defineShader - The paid Pro plan adds more than 1,000 presets, more than 55 website sections, watermark-free HD video and image rendering, and a Framer plugin
- Installation:
npm install shaders. The engine, components, and framework bindings are MIT-licensed; the editor, presets, and sections on shaders.com are under separate terms