Background
Cursor Spotlight
A graphite background with a warm spot following the pointer and revealing the material's grid. For studios, portfolios and tool presentations. On touch and with reduced motion the light is static — the composition never depends on the effect.
What you can change
- children — your content; radius and strength — the spot's size and power
- accent — the light color
- change the start point with the --vibeui-surface-002-x/y variables through style
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/surface-002?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 set's only client background ("use client"), zero dependencies besides react. Coordinates are written into the --vibeui-surface-002-x/y CSS variables through requestAnimationFrame with no state or re-renders; only pointerType === "mouse" is handled — on touch the spot stays at its start point. The light is a radial-gradient, the material grid is revealed by a mask around the spot. No system cursor replacement. Palette --vibeui-surface-002-*.
Tags
- background
- spotlight
- cursor
- interactive
- studio
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…