Torch
Look closer
Text
Type
Colour
Ground
Motion
About this effect
Torch keeps the heading in shadow, dim but readable, and lights it from inside where the pointer is: a hot centre, a coloured halo, then the dark again, so whatever you point at glows. On a loop the light wanders across the words by itself whenever nobody is pointing; on hover the words stay dark until the pointer arrives.
It is one heading with a radial gradient clipped to its text, centred on two custom properties that a small script eases towards the pointer. The light never touches anything outside the letters, and it pauses when it is off screen.
Use it for an interactive hero, a reveal or a hidden message. Heavy letters catch the most light; a larger radius lights whole words at once.
- Formats
- React, HTML
- No dependencies
- Built with
- CSS and a little JS
- Default font Outfit
- Plays
- Loop, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading; the light is its background, so it is read once and readable without it. Under reduced motion the light never wanders; it only follows the pointer.
Also known as spotlight text, flashlight text, cursor reveal text, mouse follow gradient, hover light text, reveal on hover.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.