Glitter Warp

glitter-warp-tw

Customize

1x
20
1x
0.1
0.05
0

Props

NameTypeDefaultDescription
widthnumber | string"100%"Width of the component in pixels or CSS value
heightnumber | string"100%"Height of the component in pixels or CSS value
speednumber1.0Animation speed multiplier
colorstring"#ffffff"Star color in hex format
densitynumber15.0Density of stars (higher = more spread out)
brightnessnumber1.0Star brightness multiplier
starSizenumber0.1Star size (higher = larger stars)
focalDepthnumber0.05Focal depth for perspective (lower = stronger 3D effect)
turbulencenumber0.0Turbulence intensity for wavey distortion
autoPlaybooleantrueWhether to automatically play the animation
classNamestring""Additional CSS classes
childrenReact.ReactNodeundefinedContent to render on top of the glitter effect