Skip to content
IndexRequest a UIAboutContact

Staggered Entrance

List items fade and rise into place one after another with a small delay between each.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI CODING TOOL
Build a list of five rows (icon circle, title and subtitle, each 52px tall in a 300px wide card) and a Replay button. On load and on Replay, every row animates from opacity 0 and translateY(12px) to its place over 360ms cubic-bezier(.2,.7,.2,1), with animation-delay equal to index times 60ms using a CSS custom property --i, and animation-fill-mode backwards so rows are hidden before their turn. To replay, remove the animation class, force a reflow and add it again. The list has aria-busy during the sequence. Cap the delay at 400ms for lists longer than seven items. Under prefers-reduced-motion remove the translate and the stagger and fade all rows together over 120ms.

About this pattern

Definition

Elements of a group enter in sequence instead of all at once. Each item starts slightly later than the previous one, which guides the eye down the list.

Purpose & UX principles

  • Makes new content feel orderly and shows reading order.
  • Keep the delay small (40 to 80ms) and the total under about 500ms, otherwise people wait for the interface.
  • Only animate the first screenful; long lists should not stagger beyond the visible items.

Interaction states

  • Hidden (before), entering, settled; Replay restarts the sequence.

Motion specification

  • Each row animates opacity 0 to 1 and translateY 12px to 0 over 360ms cubic-bezier(.2,.7,.2,1), delayed by index times 60ms.
  • Reduced motion: all rows appear at once with a 120ms fade.

Responsive behaviour

  • Works with any number of rows; the delay is capped so the last item never waits more than 400ms.

Code

HTML
<div class="box">
  <ul class="ls" id="ls">
    <li style="--i:0"><i></i><span><b>Inbox</b><small>12 new messages</small></span></li>
    <li style="--i:1"><i></i><span><b>Drafts</b><small>3 unsent</small></span></li>
    <li style="--i:2"><i></i><span><b>Sent</b><small>Today, 09:14</small></span></li>
    <li style="--i:3"><i></i><span><b>Archive</b><small>248 items</small></span></li>
    <li style="--i:4"><i></i><span><b>Trash</b><small>Empties in 30 days</small></span></li>
  </ul>
  <button id="re" type="button">Replay</button>
</div>

Related patterns

Easing Comparison

↗
Easing ComparisonMotion & Transitions

Skeleton Loading

↗
Skeleton LoadingLoading & Progress

Scroll Reveal

↗
Scroll RevealMotion & Transitions