Skip to content
Backgrounds

StarDrift

Stars drift at different depths and twinkle. Near stars are bigger, brighter and faster. Pauses off screen.

Download
  • React
  • Tailwind CSS v4

Props

NameTypeDefaultWhat it does
childrenReactNode—Content shown over the field.
countnumber160Number of stars.
colorstring"#ffffff"Star colour.
backgroundstring"#04050d"Base colour.
speednumber11 is the default pace; 2 is twice as fast.
classNamestring""Give it a height here.