UserHappyDesign system
Storybook

Motion

Use movement to explain a change, acknowledge an action, or make waiting understandable.

Each item retains the status in the source catalog: shipped, gated, or proposed. Shipped describes that recorded revision, not a fresh audit of production.

Choose a motion example in Storybook

Loading & waiting

Skeleton pulse cardsshipped

Ghost cards in the exact dashboard grid shimmer while the workspace loads, then hand off to the real cards with a stagger — the page never renders as a dead panel.

Placement
Dashboard · Workspace loading
Motion
Shimmer sweep — mist-grey blocks, 1.5 s linear loop, staggered 130 ms per card; real cards crossfade in with a 40 ms cascade.
Audio
Silent by design — loading states never speak.
Implementation reference

Per-card shimmer sweep + staggered delays · Dashboard.tsx DashboardCardSkeleton/WorkspaceLoadingDashboard, index.css — shipped

Shipped to production, full spec: each skeleton card sweeps its own highlight band, staggered 130 ms per card, and the real grid crossfades in with a 40 ms per-card cascade on top of the shared .dashboard-settle-in fade/rise (Dashboard.tsx DashboardCardSkeleton, index.css .dashboard-shimmer-sweep).

Publish shows its four phasesshipped

Publishing cycles through 4 status values behind one frozen label today. The confirm button walks through them — creating, inviting, emailing, going live — then pops on the spring when the pulse is live.

Placement
Create Pulse · ConfirmSendModal send
Motion
Label carousel — each phase slides up through the button, 240 ms ease-out per swap; terminal “Live” lands with a 420 ms spring pop.
Audio
Silent until the terminal state; the publish celebration itself belongs to the published panel.
Implementation reference

SendPhase state in sendPulse · label swap CSS + spring keyframe · ConfirmSendModal.tsx — shipped

Shipped directly in production (not gloss-gated): the confirm button now tracks CreatePulseV3.sendPulse’s phase as it moves through create → invite → send → activate, each label sliding in via .confirm-phase-in; the terminal phase holds on “Live!” with a .confirm-live-pop spring for 420 ms before the modal closes (CreatePulseV3.tsx sendPulse, ConfirmSendModal.tsx, index.css).

Report takes shapeproposed

Chart bars draw in from zero and morph into executive summary layout containers as sections scroll into view.

Placement
Reports · every hand-rolled bar chart
Motion
Morph assemble — bars grow from 0 to final width over 800 ms ease-out, staggered; summary blocks commit in column order.
Audio
Chime chord — ascending 3-note major triad harmony, 350 ms, on report-ready only.
Implementation reference

Shared width-transition + IntersectionObserver trigger · DetailedReport.tsx bar renderers

Sentiment, rating and cohort bars all render at final width with zero transition (DetailedReport.tsx:246–251, 839–844, 887–892; same in PulseCard, ManagePulses, ReportDetail).

Listening and transcribingproposed

Voice waveform bars react while recording, and confirmed words fade into the skeleton transcript one by one instead of arriving in batches.

Placement
Transcription Engine · Live audio recording
Motion
Waveform dance — fluid bar-height modulation, continuous; confirmed words replace grey blocks with a 240 ms per-word fade.
Audio
Ambient hum — low-volume warm hum indicator, continuous while listening.
Implementation reference

Per-word fade on stable keys · SkeletonTranscript.tsx + level meter from useSpeechActivityEstimate

Whisper words replace skeleton blocks in 4-second batches with no per-word entrance, and the skeleton→textarea swap is an instant DOM replacement (TaskCompletionPulse.tsx:1057–1087, SkeletonTranscript.tsx:45–58).

Transition smoothing

Wizard step handoffproposed

The outgoing step breathes out, the next staggers in directionally — forward slides left, back slides right — and the stepper chip fills as a step completes.

Placement
Create Pulse · V3 step navigation
Motion
Directional handoff — 140 ms exit fade with 6 px drift, then a 360 ms ease-out entrance stagger; stepper chip fill 240 ms.
Audio
Silent by design — navigation never speaks.
Implementation reference

One exit/entrance phase around setStep · CreatePulseV3.tsx next()/requestStep() + PulseWizardSteps chips

Step bodies hard-swap via conditionals (CreatePulseV3.tsx:881–915); stepper chips flip border and background instantly (PulseWizardSteps.tsx:27–33).

Rows close ranksshipped

When a row leaves a list — a participant deleted, a filter applied, an invite list reordered — it fades and slides out, and the survivors glide up into the gap instead of teleporting.

Placement
Panels · Manage Pulses · Pulse Results — list reflows
Motion
FLIP glide — 170 ms row fade/slide exit, then survivors glide 260 ms ease-out into place.
Audio
Silent by design — removal is confirmed by the banner, not a sound.
Implementation reference

useReflowingList hook (measure-invert-play FLIP + keyed exit tracking) · src/hooks/useReflowingList.ts, wired into Panels.tsx, ManagePulses.tsx, PulseResults.tsx — shipped

Shipped to production: a shared useReflowingList hook drives the FLIP glide on both the table and card layouts in Panels.tsx (participant delete + search filter) and ManagePulses.tsx (tab filter), and on the invites table in PulseResults.tsx. Confirmed empirically that transform/opacity animate correctly on <tr> rows before using the same primitive for table and card layouts (WizardConfirmModal-style CSS class toggle, not JS-driven animation library).

Disclosure that breathesshipped

Long open-feedback quotes and report sections unfold on the ease-out curve instead of snapping open by class swap — the body now follows the chevron it already rotated with.

Placement
Reports · collapsible sections & quotes
Motion
Max-height breathe — 420 ms ease-out open, 240 ms close.
Audio
Silent by design.
Implementation reference

CSS grid-rows transition + inert/aria-hidden while collapsed · DetailedReport.tsx Subsection — shipped. Scope note: the "gradient veil lifts" detail from the original proposal was not implemented, only the core open/close breathe.

Shipped to production: every collapsible Subsection (Top Themes, Notable Quotes, Panel & Cohort, Time to Value, Cohort Differences, Device & Browser) animates via a grid-template-rows 0fr/1fr transition instead of the hidden attribute, and goes inert + aria-hidden while collapsed, matching the inert pattern already used for look-alike inactive panes elsewhere (DetailedReport.tsx Subsection).

Task opens in a new tabshipped

External link arrow detaches and translates up-right into the tab frame, with a ghost trail fade.

Placement
Navigation · External deep-link trigger
Motion
Arrow detach — diagonal vector offset with ghost trail fade. 400 ms.
Audio
Subtle slide — smooth friction-free air slide, 150 ms.
Implementation reference

Survey.tsx passes taskOpenFlourish unconditionally · TaskCompletionPulse.tsx startTaskVisit handoff + taskOpenFlourish — shipped

Shipped: on Start Pulse the page first turns to Revisit + Start Sharing behind a blurred "Opening <host>…" card (wizard-confirm scrim/card motion, 500 ms hold), then the task tab opens; the arrow-detach flourish plays on the link (visible on Revisit, under the scrim on the first click). Survey.tsx passes taskOpenFlourish unconditionally (TaskCompletionPulse.tsx startTaskVisit).

Micro-interactions

Responses are liveproposed

Stat counts roll over like an odometer as responses arrive, and the live badge ticks with each one.

Placement
Pulse Results · stat cards
Motion
Odometer roll — digit rolls up 420 ms on the spring; badge pulses once per arrival, 350 ms.
Audio
Live tick — sharp 2-tone marimba chime, 90 ms.
Implementation reference

CSS transform roll on digit columns · PulseResults.tsx StatCard

StatCard values render as static text and change only when load() re-runs the whole page; nothing marks a number that moved (PulseResults.tsx:42–49, 170–181).

New response, seen landingproposed

A newly arrived response card enters with a rise, flashes a 10% accent wash that fades over 1.2 s, and a chip names who it came from.

Placement
Pulse Results · response feed
Motion
Arrival flash — 240 ms entrance rise, accent wash fades 1.2 s ease-out, chip springs in.
Audio
Silent by design — results are read at a desk; the stat tick already carries the signal.
Implementation reference

Row diff on response ids + CSS wash · PulseResults.tsx responses feed

Response cards are re-rendered whole with no entrance and no marker for what changed since last load (PulseResults.tsx:322–344).

Sentiment pressproposed

The selected face stays visible, lightens within its own color, and gains an inset shadow that makes it feel pressed in.

Placement
Pulse taking · sentiment faces
Motion
Lightened fill and inset shadow; a 1px downward settle over 180 ms. Every face remains visible and keeps its size.
Audio
Press blip — single soft 60 ms tap, quiet enough for an open office.
Implementation reference

Owner-approved design-site direction: persistent face, lighter fill, inset shadow. Application adoption is a separate change.

Task-completion sentiment faces switch filled/unfilled via transition-colors only (TaskCompletionPulse.tsx:884–918), while Survey.tsx SurveyFace scales 1.12 with a ring (Survey.tsx:96–128).

Banners with an honest timerproposed

Transient banners slide in with height instead of teleporting the layout, and auto-dismissing ones drain a 2 px hairline so the deadline is visible.

Placement
Dashboard · published banner & notice strips
Motion
Height + opacity entrance 240 ms ease-out; accent hairline drains linearly over the banner’s life; exit 170 ms ease-in.
Audio
Soft ping — one quiet high tap on arrival, 120 ms.
Implementation reference

Shared banner enter/exit primitive · Dashboard.tsx banner + CreatePulseV3 notice/sendError

The dashboard published banner arrives via router state and vanishes instantly on dismiss; the wizard notice and sendError strips pop in with no entrance (Dashboard.tsx:482–527, CreatePulseV3.tsx:833–856).

The draft save tickergated

The wizard’s Draft chip breathes while edits are unsaved, shows a spinner during the write, and lands on “Saved” with a quiet pulse — autosave stops being invisible.

Placement
Create Pulse · Draft chip in the header
Motion
State ticker — draft-breathe halo while dirty (already in the stylesheet), 150 ms label swaps, saved pulse 420 ms.
Audio
Silent by design — ambient status never speaks.
Implementation reference

Reuse .draft-breathe on the wizard chip + three label states · CreatePulseV3.tsx header

The 1.5 s debounced autosave has no affordance anywhere, and the built, reduced-motion-hardened draft-breathe halo is used only on the shared-preview page (CreatePulseV3.tsx:277–286, index.css:155–177, PulseSharedPreview.tsx:115).

Retire the native confirm()shipped

Close Pulse, member-revoke and demo-participation fabrication all now animate through the same WizardConfirmModal — no more browser confirm() dialogs breaking character. A navy scrim fades in and the card arrives on the spring, and every dismissal path plays a matching exit before the underlying action fires.

Placement
Pulse Results · Team · Cortex Report Builder — destructive & fabrication actions
Motion
Scrim 240 ms fade + card 420 ms spring from 0.96 scale; exit reverses in 170 ms ease-in on every dismissal path (Escape, backdrop, Cancel, or the confirming action).
Audio
Silent by design — a confirm should not startle.
Implementation reference

dismiss()/setTimeout exit wrapper + shared entrance spring · migrated all four confirm() sites · WizardConfirmModal.tsx, index.css — shipped

Shipped to production: all four sites migrated to WizardConfirmModal (PulseResults.tsx Close Pulse, Team.tsx revokeInvite/revokeMember, CortexReportBuilder.tsx runGenerateDemoParticipation), plus a 170 ms exit animation added to the shared component so Escape/backdrop/Cancel/action all play the same closing motion (WizardConfirmModal.tsx, index.css).

Celebration & brand

Pulse publishedshipped

A compact Pulse card launches into an expanding signal: the strongest payoff at the end of the creation wizard.

Placement
Create Pulse · publish success
Motion
Literal card launch — literal object choreography in the action's own visual language. 900 ms, once, final frame held.
Audio
Signal lift — quiet-glass earcon: clean sine/triangle contour, 180–480 ms, highest semantic clarity.
Implementation reference

SuccessLottieIcon always renders · PublishedPanel.tsx — shipped; count-up on invitations sent not yet built

Shipped to production: every author sees the SuccessLottieIcon checkmark on their publish card (PublishedPanel.tsx:19–25, LottieAnimations.tsx:93–173). The count-up on invitations sent is still open, a separate small addition.

Find your first signalshipped

A radar sweep pulses outward, highlighting early member response signals.

Placement
Dashboard · Initial telemetry empty state
Motion
Radar sweep — circular concentric expansion from focal center point. 1200 ms loop.
Audio
Sonar pulse — low-frequency sub ping with subtle warm echo, 400 ms.
Implementation reference

RadarLottieIcon always renders on the empty state · Dashboard.tsx — shipped

Shipped to production: the dashboard empty state always shows the RadarLottieIcon now, matching the score landing page (Dashboard.tsx; AssociationScoreLandingPage.tsx:573).

Audience importedproposed

Member directory avatar stack cascades smoothly into the active panel roster, and the member count ticks up as rows land.

Placement
Audience Manager · CSV import complete
Motion
Cascade stack — staggered spring entrance for roster avatars, 500 ms total; count ticks with the last arrival.
Audio
Success click — crisp dual mechanical keypress click, 110 ms.
Implementation reference

Drag-over state + staggered row entrance + count-up · Panels.tsx handleFileSelected

Dropping a CSV synchronously replaces the dropzone with the parsed table; there is no drag-over affordance and no arrival choreography (Panels.tsx:698–727, 890–919).

Reduced motion

GlossDemo respects prefers-reduced-motion and can settle on its final frame. Playback is opt-in in this documentation. Audio stays silent.

Source: src/data/glossCatalog.ts · src/components/gloss/ · src/ui/lottie/