Put the children in a box with a size. Each child needs a key.
photo-bounce.tsx
Bounce
<div>| Prop | Type | Default | Description |
|---|---|---|---|
| gap | number | 48 | The distance between trail items along the path, in px. Default 48. |
| speed | number | 120 | Speed along the path, in px per second. Default 120. |
| angle | number | 45 | The start direction in degrees (0 is right, 90 is down). Default 45. |
| colors | readonly string[] | AURORA_COLORS | The colors that --bounce-color steps through, one per edge hit (any CSS color). A child that wants the color reads the variable (border-(--bounce-color)). Default: the aurora. |
| on | — | Called when the leader hits a corner. | |
| ...props | <div> attributes | — | Every other attribute goes to the <div>, with a ref. |











