New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

shaderz

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shaderz

CLI tool to add beautiful WebGL shaders to your React/Next.js project

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

Shaderz ✨

Add beautiful WebGL & video background shaders to your React/Next.js project with a simple CLI.

26 shaders — 16 WebGL + 10 video backgrounds. Zero config.

Installation

npm install shaderz

Or use directly with npx (no installation required):

npx shaderz add

Usage

Add shaders to your project

npx shaderz add

This will:

  • Show a list of all 26 available shaders
  • Let you select multiple shaders with Space
  • Install shader components to components/shaders/
  • Copy video files to public/videos/ (for video shaders)
  • Remind you to install required dependencies

Use as a full-screen background

import LiquidOrangeShader from '@/components/shaders/LiquidOrangeShader';

export default function HeroSection() {
  return (
    <div className="relative w-full h-screen overflow-hidden">
      {/* Shader background */}
      <div className="absolute inset-0 z-0">
        <LiquidOrangeShader />
      </div>

      {/* Your content on top */}
      <div className="relative z-10 flex items-center justify-center h-full">
        <h1 className="text-6xl font-bold text-white">Hello World</h1>
      </div>
    </div>
  );
}

Use as a contained element

import PlasmaShader from '@/components/shaders/PlasmaShader';

function App() {
  return (
    <div style={{ width: '100%', height: '500px' }}>
      <PlasmaShader />
    </div>
  );
}

Available Shaders

WebGL Shaders (16)

ShaderDescription
liquid-orangeFlowing liquid with warm orange tones
ocean-wavesDynamic ocean waves
neon-fluidVibrant neon fluid
gradient-wavesSmooth gradient waves
cosmic-nebulaSpace-themed nebula
silk-flowSmooth silk flow
plasmaClassic plasma effect
plasma-v2Enhanced plasma with more colors
dark-veilMysterious blue/purple gradient
liquid-motionAdvanced fluid simulation
frothy-galaxyGalactic frothy effect
dark-cloudyAtmospheric dark cloudy
electric-stormDramatic electric lightning
floating-linesFloating geometric lines
gradient-blindsVenetian blinds effect
lighteningLightning bolt effects

Video Shaders (10)

ShaderDescription
glossy-filmSmooth glossy film with reflections
nova-silkSilky smooth nova with flowing gradients
abstract-renderStunning 3D abstract art render
cosmic-flowMesmerizing cosmic flow animation
liquid-colorsVibrant liquid colors with smooth transitions
neon-swirlVibrant neon swirling patterns
sci-fi-corridorFuturistic sci-fi corridor
tunnel-cubeHypnotic tunnel made of cubes
vj-spiralVJ-style spiral with psychedelic colors
wavy-abstractWavy abstract patterns

Video shaders automatically copy the .mp4 file to your public/videos/ folder.

Requirements

  • React 18+ or 19+
  • WebGL shaders: npm install three @types/three @react-three/fiber
  • Gradient Blinds: npm install ogl
  • Video shaders: No extra dependencies (uses native <video> element)
  • 🌐 Live Demo & Docs
  • 📦 npm
  • 🐙 GitHub

License

MIT © harsh and shubham

Keywords

shaderz

FAQs

Package last updated on 14 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts