Back to product moments
Motion Pack 25 · Change

Comment reply

After a reply is submitted, let the input area resolve into a discussion record with identity and time.

Live previewComment reply
MMinaThis transition feels natural.

Build a comment reply: after input and Reply, briefly enter a sending state, then insert a reply with avatar, name, and Just now at the bottom of the thread. Retain input focus and the ability to continue replying, with a reduced-motion treatment.

Motion rules

The new reply enters the same thread with traceable identity and time.

Reduced motion

Insert the reply directly and update status copy while retaining reading order.

Implementation

Copy HTML, CSS, and the JavaScript required for behavior together.