Size
The component is 100% of its parent's width and height and has no size of its own, so a parent with no height renders nothing. A box at a 16 to 9 ratio suits it.
Props
All optional. The defaults below are what the snippet renders.
| Prop | Values | Default |
|---|---|---|
speed | 0 to 3 | 1 |
particleSize | 0.005 to 0.04 | 0.015 |
particleOpacity | 0.1 to 1 | 0.8 |
orbitOpacity | 0 to 0.8 | 0.25 |
hue | -180 to 180 | 0 |
scale | 0.6 to 1.6 | 1 |
haloOpacity | 0 to 1 | 0.2 |
className passes through to the root element.