Beta
Animate UI

Stars Background

A dark, interactive background featuring animated dots of varying sizes and speeds, simulating a dynamic and immersive starry space effect.

Made by imskyleen

Installation

Usage

<StarsBackground />

Props

StarsBackground

PropTypeDefault
starColor?
string
#fff
transition?
SpringOptions
{ stiffness: 50, damping: 20 }
speed?
number
50
factor?
number
0.05
className?
string
-
children?
React.ReactNode
-

StarLayer

PropTypeDefault
starColor?
string
#fff
transition?
Transition
{ repeat: Infinity, duration: 50, ease: "linear" }
size?
number
1
count?
number
1000

Credits

Built by Skyleen. The source code is available on GitHub.

On this page