Micro-interaction

17 motionsReplace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add to Cart Fly

Also called Fly to cart, Add-to-cart animation

The product image shrinks and flies along an arc into the cart icon.

E-commerce

Checkbox Check Draw

Also called Animated checkbox, Checkmark draw

A checkmark is drawn stroke by stroke inside the box when it is ticked.

Forms, to-do lists

Confetti

Also called Confetti burst, Celebration

Colorful paper pieces burst out and fall to celebrate a success.

Purchase complete, goal reached

Copy-to-Clipboard Feedback

Also called Copied state, Copy icon to checkmark

The copy icon morphs into a checkmark and the label reads Copied for a moment.

Code blocks, share links

Drag

Also called Draggable, Drag constraints

An element follows the pointer when dragged and can be limited to an area or an axis.

Sliders, sortable cards

Floating Label

Also called Float label, Animated placeholder

The placeholder label moves up and shrinks above the field when it is focused or filled.

Forms, login inputs

Like / Heart Burst

Also called Heart animation, Twitter heart, Favorite toggle

A heart icon fills with color and bursts small particles or pulses when clicked.

Like/favorite buttons

Long Press

Also called Press and hold, Touch and hold

Holding an item down for a moment triggers extra actions or a progress fill.

Context menus, hold to confirm

Notification Badge Bounce

Also called Badge pop, Badge pulse, Ping

A count badge pops, bounces, or pulses when a new notification arrives.

Bell icon, inbox

Password Reveal Toggle

Also called Show/hide password, Eye icon toggle

An eye icon switches between open and slashed as the password text is shown or hidden.

Login, sign-up forms

A pointer arrow draws a highlight box around a word when the text scrolls into view.

Headlines, marketing copy

Press (Button Tap Scale)

Also called Tap feedback, Active scale, Press state

The element shrinks slightly while pressed and springs back on release.

Buttons, cards

Pull to Refresh

Also called Swipe to refresh

Dragging a list down reveals a spinner and reloads the content on release.

Feeds, inboxes

Ripple

Also called Material ripple, Touch ripple, Ripple Button, Ink ripple

A circular wave expands and fades from the exact point of the click or tap.

Buttons, list items

Success Checkmark

Also called Animated success tick

A circle and tick draw themselves to confirm an action succeeded.

Form submit, payment done

Swipe to Delete

Also called Swipe actions, Swipe to reveal

Swiping a list row sideways reveals action buttons such as delete or archive.

Mail lists, to-do lists

Toggle Switch

Also called Switch, Switch Thumb Slide

A round knob slides along a track and the track color changes between off and on.

Settings, dark mode

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.