Light Rays
Soft beams of light falling from the top of a hero, slowly breathing and swaying.
New in 2026
Ship your best work into the light
A hero background that feels alive without stealing attention from your words.
Get startedEdit with AIPro
Describe a change to Light Rays and get the updated code. The live preview above stays as the original.
Quality report
Kinetiq VerifiedLoads cleanly
No errors on phone and desktop screens.
Fits a phone screen
No sideways scrolling at 375 px wide.
No serious accessibility problems
Passed the axe-core WCAG 2.1 A/AA check.
- Size (gzipped)
- 1.3 KB
- Extra packages
- motion, lucide-react
- Reduced motion
- Respected
Tested automatically in Chrome 158.0.8127.36 with axe-core 4.14.1. Automated tools catch only part of all accessibility problems, so treat this as a solid minimum, not a full audit.
Installation
One command
Adds the file to components/ui/light-rays.tsx and installs motion and lucide-react for you.
Run login once. It needs a free account, because the code is for signed-in users only. Get your token.
Or do it by hand
Install the dependencies
$ npm i motion lucide-reactSign in, open the Code tab above and copy it into
components/ui/light-rays.tsxUse it
The file exports the component and a
Demoshowing typical usage. Import whichever you need.