{"schemaVersion":1,"id":"shadergradient","name":"Shader Gradient","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/shadergradient/","officialUrl":"https://shadergradient.co/","isCatalog":false,"description":"Customizable moving 3D gradients. A ready-made renderer for React and Vue adds an atmospheric background to an interface, with colors, motion, and camera controlled through parameters.","tasks":["Create an animated hero background for a landing page","Add a gradient background to an application screen","Give Codex settings from the editor and integrate a ready-made component"],"categoryIds":["graphics","assets","motion"],"subcategoryIds":["graphics.shaders","graphics.webgl","assets.backgrounds","motion.web"],"tags":["React","Vue"],"aliases":[],"platforms":[],"stack":["React","Vue"],"compatibility":null,"pricing":"free","freeUsage":"An open-source MIT library.","paidUsage":"No paid MCP purchase is required; installation depends on the specific project.","license":"MIT according to the official README; retain license notices.","selectionGuide":{"purpose":"Create an animated hero background for a landing page","chooseWhen":["Create an animated hero background for a landing page","Add a gradient background to an application screen","Give Codex settings from the editor and integrate a ready-made component"],"considerInstead":["When choosing for this topic, compare Shader Gradient with Paper Shaders. A candidate to compare under the topic: Backgrounds and textures, Shaders and GPU effects. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":["The React renderer requires @react-three/fiber, three, three-stdlib, and camera-controls; React and R3F versions must be compatible."],"limitations":["Costs and limits of free use: No paid MCP purchase is required; installation depends on the specific project.","Terms of use: MIT according to the official README; retain license notices.","For Next.js 15 App Router, the README requires React 19 and R3F v9. Stateless controls are separated from the renderer into @shadergradient/ui."],"faq":[{"question":"What can you use for free in Shader Gradient?","answer":"An open-source MIT library."},{"question":"What additional costs might arise with Shader Gradient?","answer":"No paid MCP purchase is required; installation depends on the specific project."},{"question":"What terms of use matter for Shader Gradient?","answer":"MIT according to the official README; retain license notices."},{"question":"Which environment can you use Shader Gradient in?","answer":"Tech stack: React, Vue."},{"question":"How do you get started with Shader Gradient?","answer":"For the task “Create an animated hero background for a landing page”: choose one effect and adjust its color, scale, and speed on a separate test screen. Place your own content over the graphics; limit the effect to the area where it helps the composition. Compare appearance and resource use on target devices; prepare a static alternative if the effect is unavailable."},{"question":"What should you consider when choosing Shader Gradient?","answer":"The library is integrated into the project. In v2, the renderer and UI controls are separate; integration depends on React/Vue and the selected version."},{"question":"Why are the former built-in store and controls absent from v2?","answer":"@shadergradient/react v2 contains only ShaderGradient and ShaderGradientCanvas. The control UI is separate in @shadergradient/ui; custom state is passed through props."},{"question":"How can settings be transferred from the visual editor?","answer":"ShaderGradient can read query settings through control='query' and a urlString from the customize page. Props can also be set explicitly inside ShaderGradientCanvas."}],"related":[{"id":"github-com-paper-design-shaders","reason":"A candidate to compare under the topic: Backgrounds and textures, Shaders and GPU effects. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/ruucm/shadergradient","https://shadergradient.co/","https://www.bookmarks.design/","https://raw.githubusercontent.com/ruucm/shadergradient/HEAD/README.md"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["One area of a page or scene, a palette, and the desired style of movement.","Text or controls over the effect, and a static background alternative.","From the tech stack mentioned on this page, choose an option that suits your project: React, Vue; check version compatibility in the documentation."],"steps":["For the task “Create an animated hero background for a landing page”: choose one effect and adjust its color, scale, and speed on a separate test screen.","Place your own content over the graphics; limit the effect to the area where it helps the composition.","Compare appearance and resource use on target devices; prepare a static alternative if the effect is unavailable."],"checks":["Text and buttons remain readable throughout the motion; graphics do not interfere with controls.","The page remains usable without the GPU effect and with reduced motion."],"goal":"Example workflow with Shader Gradient: Create an animated hero background for a landing page."},"sources":["https://github.com/ruucm/shadergradient","https://shadergradient.co/","https://www.bookmarks.design/","https://raw.githubusercontent.com/ruucm/shadergradient/HEAD/README.md"],"checkedAt":"2026-10-03","reviewScope":"The purpose and published terms have been reviewed against the cited primary sources. This page does not confirm that the product was run or tested in every environment.","relatedIds":["github-com-paper-design-shaders","react-bits"],"dataVersion":"cbbe7123b47a5ae80983","type":"Open-source shader-gradient library and editor","kind":"library","pricingNote":"An open-source MIT library. No paid MCP purchase is required; installation depends on the specific project.","notes":"The library is integrated into the project. In v2, the renderer and UI controls are separate; integration depends on React/Vue and the selected version.","labeledSources":[{"url":"https://github.com/ruucm/shadergradient","label":"Source code"},{"url":"https://shadergradient.co/","label":"Official website"},{"url":"https://www.bookmarks.design/","label":"Source: bookmarks.design"},{"url":"https://raw.githubusercontent.com/ruucm/shadergradient/HEAD/README.md","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}