Premium
A dark button with a glass prism. On hover a white beam draws in, refracts through the prism and fans out into six hue turned rays one after another, and the label tints with the last ray.
Also known as: prism button css, light dispersion hover, rainbow spectrum button, dark side prism button.
Premium
Everything you see above is live. Basic and Pro include every premium piece, with the HTML and CSS ready to copy, plus the Tailwind version where there is one and Motions in Claude Code on Pro.
--hfx-color on the element or a parent.
Currently previewing #3b82f6.--hfx-size. Every other dimension is in
em, so the whole thing scales together. Currently previewing 16px.transition or animation
shorthand. Staggered delays are relative, so they keep their rhythm.