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 |
|---|---|---|
mode | dark, light | dark |
scale | 0.65 to 1.5 | 1 |
opacity | 0.1 to 1 | 1 |
hue | -180 to 180 | 0 |
saturation | 0 to 2 | 1 |
brightness | 0.4 to 1.8 | 1 |
className and style pass through to the root element.