Background

Full-screen snow

Snow over the page: a full-screen canvas with flakes at three depths — far ones small and pale, near ones bigger with a soft halo — falling at their own speed, swaying and drifting with the wind. Placed once at the page root, it runs from the hero to the footer and switches off from any header's button.

What you can change

  • density, wind, speed, color, backdrop, zIndex
  • fixed — full screen or inside the parent; paused — off without unmounting
  • className and style

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/background-006?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

One file, zero dependencies, “use client”. The layer is a <div> position:fixed inset:0 pointer-events:none (fixed=false — absolute inside the parent, for previews and sections) with a <canvas>. Flakes are seeded by area (density=1 is about 140 per 1440×900), each with a depth that sets radius, speed, opacity and halo. Wind is a shared drift plus a slow sine “breath”; leaving one edge wraps to the other. A requestAnimationFrame loop with time delta; it stops in a hidden tab (visibilitychange), when the layer is out of view (IntersectionObserver) and on paused. Retina via devicePixelRatio up to 2, sizing via ResizeObserver. External switch: data-vibeui-snow="off" on <html> and a vibeui-snow event on window — the layer re-reads the attribute and stops or restarts. prefers-reduced-motion draws one static frame of sparse flakes. Colour, density, wind, speed, backdrop and z-index are props.

Tags

  • snow
  • winter
  • particles
  • canvas
  • overlay
  • fullscreen
  • ambient
  • christmas
  • wedding
  • decorative
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…