Sundial

Long days

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Sundial stands your words on a floor in the open with the sun behind them. A small sun climbs from one side of the sky above the letters, crosses over and sets on the other, and every letter casts its shadow forward onto the ground towards you: long and raking at sunrise, short and dark under the letters at noon, stretching out the other way as the sun goes down. As the sun gets low the letters warm towards its colour, the way everything does in the last hour of light.

Each shadow is the letter itself, flipped at its baseline, squashed onto the floor, slanted away from the sun and softened with distance, so it always matches the word you typed. The heading stays real text for screen readers and search.

Formats
React, HTML
No dependencies
Built with
CSS and a little JS
Default font Fraunces
Plays
Loop, In view, Hover, On load
Reduced motion
Respected
Shows the finished frame

Accessibility. One real heading, read once; the letters, their shadows and the sun are drawn in layers hidden from screen readers. Under reduced motion it rests in late afternoon with the shadows still.

Also known as long shadow text, cast shadow animation, sun shadow text effect, golden hour text, time lapse shadow text, sundial animation.

Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.

More light and glitch