Skip to content
Backgrounds

CosmicDust

Fine dust and a few soft out-of-focus specks float upward, swaying and flickering. Pauses off screen.

Download
  • React
  • Tailwind CSS v4

Props

NameTypeDefaultWhat it does
childrenReactNode—Content shown over the background.
colorstring"#e9e3ff"Colour of the fine dust.
accentstring"#a78bfa"Colour of the large soft specks.
backgroundstring"#07060f"Base colour.
countnumber220Number of specks.
speednumber11 is the default pace; 2 is twice as fast.
classNamestring""Give it a height here.