Kedhareswer Naidu

Frosted Window Background

Shaders 91

About

Frosted window background: a winter pane at blue hour that frosts over as the page loads, grown by a real phase-field crystal simulation on the GPU, with six-fold dendrites creeping in from the cold frame over blurred street lights. Draw a finger across the glass to wipe a clear trail, and the frost grows back along its old paths. React only, WebGL2, no assets.

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

Code

How Frosted Window Background is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"

import HoarfrostPane from "@/components/ui/hoarfrost-pane"

export default function Demo() {
  // w-full matters: 21st centres demos in a flex wrapper, and a flex item
  // left at width:auto shrinks the canvas to 0px wide.
  return (
    <div className="w-full">
      <HoarfrostPane>
        <div className="flex h-full flex-col items-center justify-center px-6 text-center">
          <p className="text-[11px] font-medium uppercase tracking-[0.32em] text-white/55">Night of 14 January</p>
          <h1 className="mt-4 text-5xl font-light tracking-tight text-white/90 [text-shadow:0_1px_24px_rgba(8,14,28,0.6)] sm:text-7xl">
            First frost
          </h1>
          <p className="mt-5 max-w-xs text-sm leading-relaxed text-white/60">
            Draw a finger across the glass. It freezes over again behind you.
          </p>
        </div>
      </HoarfrostPane>
    </div>
  )
}

More by Kedhareswer Naidu

View all
  • Glassmorphism Folder Cards

    Glassmorphism Folder Cards

    6.3K
  • Halftone Wordmark Footer

    Halftone Wordmark Footer

    2.4K
  • Food Menu Scroll Carousel

    Food Menu Scroll Carousel

    2.4K
  • GitHub Contribution Graph 3D Heatmap

    GitHub Contribution Graph 3D Heatmap

    2.2K
  • Morph Gallery

    Morph Gallery

    2.1K
  • Animated Features Bento with Live Diagrams

    Animated Features Bento with Live Diagrams

    1.6K
  • Hanging Polaroid Image Carousel

    Hanging Polaroid Image Carousel

    1.3K
  • Sneaker Product Page Hero

    Sneaker Product Page Hero

    1.3K

More in Shaders

View all
  • Glass Fold

    Glass Fold

    592
  • Shader Animation

    Shader Animation

    3.9K
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • LightSpeed

    LightSpeed

    253
  • Illos Knowledge Sources

    Illos Knowledge Sources

    76
  • Animated Shader Background

    Animated Shader Background

    2.1K
  • Molten Pillars

    Molten Pillars

    18
  • Shader Lines

    Shader Lines

    2.5K