Background
Waterfall Of Light
A stream of light falls from above, gathers into strands, strikes the top edge of a card and spreads along it. The GPU does the work: a shader builds the curtain, the impact, the god-rays and the reflection on the surface.
What you can change
- eyebrow, title, text — the card eyebrow, heading and paragraph
- author, role, avatar and action — the byline and the action chip
- photos — the frames on the right: src, alt and caption
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/background-003?lang=en&theme=dark
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
The scene is drawn by a WebGL 2 fragment shader; the DOM only carries the card and its edge. The layers are computed in screen space and stack in the order light behaves in life: the thread of the stream at the top, the curtain of strands widening downward (the noise drifts down, so the flow looks accelerated), the haze around it, the impact at the edge, the long spread along it, god-rays from the point of impact and the reflection on the card. Colour is stacked in steps (depth, glow, core) and passes through Reinhard tone mapping — the glow keeps the structure of the strands instead of blowing out to white. The canvas sits above the card in screen mode: the light truly lands on the surface rather than lighting it from below. The cursor moves an extra light point inside the shader, so React re-renders nothing. Frames are computed only while the component is visible and the tab is active, devicePixelRatio is capped at two, and prefers-reduced-motion leaves a single still frame. Where WebGL 2 is missing, gradients of the same drawing hold the scene. The background under the stream is not empty: a grid with dots runs across it and an invisible field of technical glyphs lies on top — it appears only under the cursor beam, the donor's trick, where artwork opens only under a torch; the cursor coordinates go into CSS variables, so the reveal re-renders nothing. Smoke drifts through the dark part of the frame, and every few seconds a distant lightning briefly lights a cloud — the flash draws no bolt and does not argue with the waterfall. Card content is passed through children.
Tags
- background
- waterfall
- light
- beam
- webgl
- shader
- hero
- dark
- card
- ambient
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…