- Docs
- Components
- Backgrounds
- Rotating Stars
Rotating Stars
Spinning star particles with orbital animation
rotating-stars-tw
Customize
X Offset
0.00
Y Offset
0.00
Radius
15
Speed
1.5
Thickness
0.01
Roundness (Corners)
1.00
Softness (Edges)
0.10
Star Color
Props
9| Name | Type | Default | Description |
|---|---|---|---|
x | number | 0 | Horizontal center offset. |
y | number | 0 | Vertical center offset. |
radius | number | 15 | Scale/radius of the star field. |
speed | number | 1.5 | Rotation speed multiplier. |
thickness | number | 0.01 | Apparent thickness of the star trails. |
roundness | number | 1 | Corner radius of the star trails (0-1). |
softness | number | 0.1 | Softness (blur) of the trail edges. |
color | string | "#8b5cf6" | Base color of the stars. |
className | string | "" | Additional CSS classes. |
xnumberHorizontal center offset.
Default
0ynumberVertical center offset.
Default
0radiusnumberScale/radius of the star field.
Default
15speednumberRotation speed multiplier.
Default
1.5thicknessnumberApparent thickness of the star trails.
Default
0.01roundnessnumberCorner radius of the star trails (0-1).
Default
1softnessnumberSoftness (blur) of the trail edges.
Default
0.1colorstringBase color of the stars.
Default
"#8b5cf6"classNamestringAdditional CSS classes.
Default
""