Premium
A white beam swings slowly into a glass prism and leaves as a fan of hue-shifted bands that widens and narrows with the beam's angle, landing on a screen as a soft spectrum.
Also known as: prism rainbow animation css, light spectrum loader, dispersion prism css, refraction beam animation.
Premium
Everything you see above is live. Basic and Pro include every premium piece, with the HTML and CSS ready to copy, plus Motions in Claude Code on Pro.
--ldr-color on the element or a parent.
Currently previewing #3b82f6.--ldr-size. Every dimension in the snippet is
derived from it. Currently previewing 64px.animation shorthand.
Delays on the children are relative, so they keep their rhythm.role="status" and an
aria-label so screen readers announce the wait. The reduced-motion rule
at the end slows the animation for users who asked for less motion.