framecn

Shader Dithering

Shaders 46

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

    48
  • Blur Out Up

    Blur Out Up

    42
  • Zoom Through Transition

    Zoom Through Transition

    32
  • Top Down Letters

    Top Down Letters

    25
  • Strikethrough Replace

    Strikethrough Replace

    21
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    18
  • Message Bubble

    Message Bubble

    17
  • Mesh Gradient Background

    Mesh Gradient Background

    11

More in Shaders

View all
  • Shader Animation

    Shader Animation

    3.9K
  • Glass Fold

    Glass Fold

    599
  • Black Hole

    Black Hole

    56
  • Illos Knowledge Sources

    Illos Knowledge Sources

    77
  • DitheredShaderBackground

    DitheredShaderBackground

    59
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    254
  • Stream Search

    Stream Search

    88