Skip to content
Text Effects

ShadowCast

A bare bulb hangs over the letters and each one throws its own long shadow away from it. The bulb drifts on its own, or follows the pointer.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
textstring—Text to light.
shadowstring"#05060c"Shadow colour.
lightstring"#ffd27a"Colour of the bulb and its pool of light.
reachnumber150Longest shadow, in pixels.
classNamestring""Type styles and size of the lit stage.