framecn

Shader Dithering

Shaders 42

About

An animated ordered-dither shader background that renders a retro pixelated gradient field, useful as a stylized hero or video backdrop.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Shader Dithering to your project and fits it to your theme.

Code

How Shader Dithering is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ShaderDithering from "@/components/ui/shader-dithering";

export default function ShaderDitheringDemo() {
  return (
    <div className="w-full h-screen">
      <ShaderDithering
        className="w-full h-full"
        width={1920}
        height={1080}
        colorBack="#12121a"
        colorFront="#6a6a85"
      />
    </div>
  );
}

Dependencies

More by framecn

View all
  • Format Morph

    Format Morph

    40
  • Blur Out Up

    Blur Out Up

    40
  • Zoom Through Transition

    Zoom Through Transition

    26
  • Top Down Letters

    Top Down Letters

    22
  • Strikethrough Replace

    Strikethrough Replace

    17
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    16
  • Message Bubble

    Message Bubble

    11
  • Mesh Gradient Background

    Mesh Gradient Background

    11

More in Shaders

View all
  • Glass Fold

    Glass Fold

    499
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Radial Shader

    Radial Shader

    149
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    22
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700