19 of 25
Give new elements a starting style
Use @starting-style for a CSS transition on newly rendered content. Leave the normal style visible so the content remains usable if the entry animation is skipped.
Do.row { @starting-style { opacity: 0 } } Starting-style illustration — rows enter from below
Don’tuseEffect(() => setShown(true)) Instant reveal — rows appear at their final positions
Compare the illustrated first frames of the inserted rows.
Reduced motion: end states only, as your setting asks.
Before you ship
- Does the row appear on its first insertion?
- Is its ordinary computed style visible?
- Does removing the animation leave the information accessible?