Docs
Hyperspace
Hyperspace
A dynamic and customizable background component that simulates a star-filled hyperspace effect.
Loading...
Installation
Props
Prop | Type | Description | Default |
---|---|---|---|
starTrailOpacity | Number | Controls the opacity of the star trails, where lower values make trails more visible. | 0.5 |
starSpeed | Number | Adjusts the speed of the stars, affecting how quickly they move across the screen. | 1.01 |
starColor | String | Sets the color of the stars, specified as a hex code. | "#FFFFFF" |
starSize | Number | Defines the initial size of the stars. | 0.5 |
className | String | Additional CSS classes to style the component. | - |