framecn

Shader Dithering

Shaders 29

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
  • Blur Out Up

    Blur Out Up

    33
  • Zoom Through Transition

    Zoom Through Transition

    19
  • Top Down Letters

    Top Down Letters

    19
  • Strikethrough Replace

    Strikethrough Replace

    17
  • Format Morph

    Format Morph

    14
  • Mesh Gradient Background

    Mesh Gradient Background

    11
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    9
  • Message Bubble

    Message Bubble

    6

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    717
  • Wave

    Wave

    685
  • LightSpeed

    LightSpeed

    207
  • animated pattern cloud

    animated pattern cloud

    616
  • Background Shader

    Background Shader

    304
  • Shader Background

    Shader Background

    2K
  • Line Shader Homlu UI

    Line Shader Homlu UI

    48