framecn

Shader Dithering

Shaders 43

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

    44
  • Blur Out Up

    Blur Out Up

    41
  • Zoom Through Transition

    Zoom Through Transition

    28
  • Top Down Letters

    Top Down Letters

    24
  • Strikethrough Replace

    Strikethrough Replace

    19
  • Terminal to Browser Deploy

    Terminal to Browser Deploy

    18
  • Message Bubble

    Message Bubble

    14
  • Mesh Gradient Background

    Mesh Gradient Background

    11

More in Shaders

View all
  • Glass Fold

    Glass Fold

    530
  • Shader Animation

    Shader Animation

    3.9K
  • Wave

    Wave

    721
  • Shadow Blending

    Shadow Blending

    32
  • Paper design shader Background

    Paper design shader Background

    707
  • Shader Lines

    Shader Lines

    2.4K
  • Phosphor 30

    Phosphor 30

    316
  • Stream Search

    Stream Search

    42