Stained glass
Afterglow
Text
Type
Colour
Ground
Motion
About this effect
Stained glass leads your letters like a church window: each letter is cut into panes of coloured glass, ruby, cobalt, amber and green, held in dark lead that also runs round the letters' edges, and every pane has the faint streaks and unevenness of old blown glass. Behind it the sun moves slowly from one side to the other, so the panes nearest it blaze while the far ones sit dim, and the light passing through throws a soft, stretched pool of the same colours onto the floor beneath the words.
The panes are cut fresh for your own letters. It stays on the dark ground in both themes, where glass glows. It is drawn on a canvas, and the heading keeps your words for screen readers and search. Panes sets how small the pieces are cut.
- Formats
- React, HTML
- No dependencies
- Built with
- Canvas, over real text
- Default font Archivo
- Plays
- Loop, In view, Hover, On load
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once; the glass and its light are drawn on a canvas hidden from screen readers. Under reduced motion the glass rests lit from the middle.
Also known as stained glass text, church window text, leaded glass effect, mosaic glass letters, cathedral text, coloured glass light.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.