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
This item is AnimatedTopDock with variant="modern". The other settings are separate
items in this collection, and the snippet sets this one for you.
All optional. The defaults below are what the snippet renders.
| Prop | Values | Default |
|---|---|---|
proximity | 60 to 220 | 122 |
spring | 0.05 to 0.35 | 0.19 |
damping | 0.4 to 0.9 | 0.7 |
widthGrowth | 4 to 32 | 17 |
heightGrowth | 4 to 28 | 16 |
drop | 0 to 12 | 3.5 |
className passes through to the root element.