Solstice UI
UI / effect stable

Winter Snow

Ambient snowfall with real-time 1D heightfield snowdrifts on any element edge and deterministic procedural frost crystals.

canvas particles seasonal zero-dependency
Live previewstable
Accumulates smoothly along any [data-snow-pile] surface
Grows deterministic frost crystals on [data-snow-frost] edges
This Computersolstice-ui

Ask anything, @ to mention, / for actions

Winter Snow (@solstice-ui/react)↑
Copies self-contained TypeScript & React source directly into your repo
npx shadcn@latest add https://solstice-ui.pages.dev/r/winter-snow.json

Source code

import { WinterSnow } from '@solstice-ui/react/winter-snow';

export function App() {
  return (
    <main>
      <WinterSnow storageKey="solstice-winter-snow" />
      <div data-snow-pile className="rounded-2xl border p-4">
        <div data-snow-frost="medium" className="relative overflow-hidden rounded-xl p-4">
          Your content stays interactive under the overlay.
        </div>
      </div>
    </main>
  );
}

Accessibility contract

Automatically stays paused when prefers-reduced-motion: reduce is active unless respectReducedMotion={false} is explicitly passed.

All overlay canvases set pointer-events: none and aria-hidden="true"; the optional toggle button exposes aria-pressed and keyboard focus.