
Button menu
Menus, Transitions, Text
The loader of a contacts CSV import in an invented CRM, Fernwood, on a dark glass card. The file drops into the dashed zone and flies into the head, the raw column names turn into Name, Email, Company and Status, the rows fall in crooked with a few red cells and, under a passing light, each one straightens and springs back into its columns. The duplicate lands on its twin and the two fuse into one row with a small Merged tag, the two rows with a broken email sink to the bottom in amber under «2 need a look», the counter rolls to 1,248 contacts and it closes on Import complete with a tick.
A folder that runs on its own: index.html, style.css, script.js and the libraries from a CDN. The React and Vue tabs hold the same demo as a ready component, which switches its animations off when it leaves the page.
<!doctype html>
<!--
"Contacts import loader" from Animorio · https://animorio.com
License: free on your own sites and your clients’ sites, paid work included.
Not for resale, redistribution, templates or code collections · https://animorio.com/en/license/
-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>The contacts import with the rows that fall into place</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the contacts import of a CRM, Fernwood. A CSV file drops into the card, the rows fall in crooked with a few red
cells, a light passes over them and each row springs into its columns, the duplicate lands on its twin and
the two fuse into one row with a small Merged tag, the two rows with a broken email sink to the bottom in amber
and the counter rolls to 1,248 contacts. Import complete -->
<section class="imp" data-card aria-label="Import contacts">
<span class="imp__beam" data-beam aria-hidden="true"></span>
<header class="imp__head">
<span class="imp__mark" aria-hidden="true">
<svg viewBox="0 0 24 24"><path d="M6 17.5 C6 11 10 6.5 18 6.5 C18 13 14 17.5 6 17.5 Z"/><path d="M6 17.5 L12.5 11"/></svg>
</span>
<div class="imp__titles">
<p class="imp__title">Import contacts</p>
<p class="imp__file" data-file>
<svg class="imp__file-icon" data-fileicon viewBox="0 0 14 16" aria-hidden="true"><path d="M2.5 1.5 H8.6 L11.5 4.4 V14.5 H2.5 Z"/><path d="M8.4 1.6 V4.6 H11.4"/></svg>
<span>contacts_q4.csv</span><span class="imp__dim"> · 1,312 rows</span>
</p>
</div>
<div class="imp__count" aria-hidden="true">
<span class="odo" data-odo>
<span class="odo__col" data-digit="3"><span class="odo__strip"></span></span><span class="odo__comma" data-comma>,</span><span class="odo__col" data-digit="2"><span class="odo__strip"></span></span><span class="odo__col" data-digit="1"><span class="odo__strip"></span></span><span class="odo__col" data-digit="0"><span class="odo__strip"></span></span>
</span>
<span class="imp__count-word">contacts</span>
</div>
</header>
<div class="imp__bar" aria-hidden="true"><span class="imp__bar-fill" data-progress></span></div>
<div class="imp__table" data-table>
<div class="cols" data-cols aria-hidden="true">
<span class="cols__cell" data-col data-raw="full_name" data-clean="Name"></span>
<span class="cols__cell" data-col data-raw="e-mail" data-clean="Email"></span>
<span class="cols__cell cols__cell--company" data-col data-raw="org" data-clean="Company"></span>
<span class="cols__cell cols__cell--status" data-col data-raw="type" data-clean="Status"></span>
</div>
<div class="rows" data-rows role="list">
<span class="rows__light" data-light aria-hidden="true"><span class="rows__light-line"></span></span>
<div class="row" data-row="maya" role="listitem"><div class="row__in">
<span class="cell" data-cell data-bad><span class="cell__raw">LINDQVIST, MAYA</span><span class="cell__clean cell__clean--name"><span class="cell__name">Maya Lindqvist</span><span class="tag" data-merged><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M2 2.5 C2 6 4 7 6 7 C8 7 10 6 10 2.5"/><path d="M6 7 V10.5"/></svg>Merged</span></span></span>
<span class="cell cell--email" data-cell><span class="cell__raw">Maya@Northpine.co </span><span class="cell__clean">maya@northpine.co</span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">northpine inc</span><span class="cell__clean">Northpine</span></span>
<span class="cell cell--status" data-cell><span class="cell__raw">lead</span><span class="cell__clean"><span class="pill" data-status-a>Lead</span><span class="pill pill--customer" data-status-b>Customer</span></span></span>
</div></div>
<div class="row row--dup" data-row="dup" aria-hidden="true"><div class="row__in">
<span class="cell" data-cell><span class="cell__raw">maya lindqvist</span><span class="cell__clean">Maya Lindqvist</span></span>
<span class="cell cell--email" data-cell><span class="cell__raw">maya@northpine.co</span><span class="cell__clean">maya@northpine.co</span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">Northpine</span><span class="cell__clean">Northpine</span></span>
<span class="cell cell--status" data-cell><span class="cell__raw">CUSTOMER</span><span class="cell__clean"><span class="pill pill--customer">Customer</span></span></span>
</div></div>
<div class="row" data-row="theo" role="listitem"><div class="row__in">
<span class="cell" data-cell><span class="cell__raw">theo okafor</span><span class="cell__clean">Theo Okafor</span></span>
<span class="cell cell--email" data-cell><span class="cell__raw">THEO@BRIGHTWELL.IO</span><span class="cell__clean">theo@brightwell.io</span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">Brightwell</span><span class="cell__clean">Brightwell</span></span>
<span class="cell cell--status" data-cell data-bad><span class="cell__raw">cust.</span><span class="cell__clean"><span class="pill pill--customer">Customer</span></span></span>
</div></div>
<div class="row" data-row="ines" data-error role="listitem"><div class="row__in">
<span class="cell" data-cell><span class="cell__raw">Ines Duarte</span><span class="cell__clean">Ines Duarte</span></span>
<span class="cell cell--email" data-cell data-bad data-keep><span class="cell__raw">ines.duarte@</span><span class="cell__clean"><svg class="warn" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1.6 L10.8 10.2 H1.2 Z"/><path d="M6 5 V7.2"/><path d="M6 8.7 V8.8"/></svg><span class="cell__name">ines.duarte@</span></span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">solace labs</span><span class="cell__clean">Solace Labs</span></span>
<span class="cell cell--status" data-cell><span class="cell__raw">Lead</span><span class="cell__clean"><span class="pill">Lead</span></span></span>
</div></div>
<div class="row" data-row="jonah" role="listitem"><div class="row__in">
<span class="cell" data-cell data-bad><span class="cell__raw">WEISS JONAH</span><span class="cell__clean">Jonah Weiss</span></span>
<span class="cell cell--email" data-cell><span class="cell__raw">jonah@kiln.studio</span><span class="cell__clean">jonah@kiln.studio</span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">KILN</span><span class="cell__clean">Kiln Studio</span></span>
<span class="cell cell--status" data-cell><span class="cell__raw">lead</span><span class="cell__clean"><span class="pill">Lead</span></span></span>
</div></div>
<div class="row" data-row="priya" role="listitem"><div class="row__in">
<span class="cell" data-cell><span class="cell__raw">Priya Raman</span><span class="cell__clean">Priya Raman</span></span>
<span class="cell cell--email" data-cell><span class="cell__raw">priya @orbit.co</span><span class="cell__clean">priya@orbit.co</span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">orbit freight</span><span class="cell__clean">Orbit Freight</span></span>
<span class="cell cell--status" data-cell data-bad><span class="cell__raw">prtnr</span><span class="cell__clean"><span class="pill pill--partner">Partner</span></span></span>
</div></div>
<div class="row" data-row="leo" data-error role="listitem"><div class="row__in">
<span class="cell" data-cell><span class="cell__raw">leo brandt</span><span class="cell__clean">Leo Brandt</span></span>
<span class="cell cell--email" data-cell data-bad data-keep><span class="cell__raw">leo@@harbor.co</span><span class="cell__clean"><svg class="warn" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1.6 L10.8 10.2 H1.2 Z"/><path d="M6 5 V7.2"/><path d="M6 8.7 V8.8"/></svg><span class="cell__name">leo@@harbor.co</span></span></span>
<span class="cell cell--company" data-cell><span class="cell__raw">Harbor & Co</span><span class="cell__clean">Harbor & Co</span></span>
<span class="cell cell--status" data-cell><span class="cell__raw">customer</span><span class="cell__clean"><span class="pill pill--customer">Customer</span></span></span>
</div></div>
<div class="row row--note" data-row="note"><div class="row__in">
<svg class="warn warn--big" viewBox="0 0 12 12" aria-hidden="true"><path d="M6 1.6 L10.8 10.2 H1.2 Z"/><path d="M6 5 V7.2"/><path d="M6 8.7 V8.8"/></svg>
<span class="note__words">2 need a look</span>
<button class="note__btn" type="button">Review</button>
</div></div>
</div>
<div class="drop" data-drop aria-hidden="true">
<svg class="drop__edge" data-dropedge preserveAspectRatio="none"><rect data-droprect x="0.5" y="0.5" rx="14" ry="14"/></svg>
<div class="drop__words" data-dropwords>
<svg class="drop__up" viewBox="0 0 20 20"><path d="M10 14.5 V4.5"/><path d="M5.8 8.6 L10 4.4 L14.2 8.6"/><path d="M3.5 15.5 V16.5 H16.5 V15.5"/></svg>
<span class="drop__title">Drop a CSV file</span>
<span class="drop__sub">Name, email, company and status</span>
</div>
<div class="chip" data-chip>
<span class="chip__doc">
<svg viewBox="0 0 28 34"><path class="chip__paper" d="M3 2.5 H18.5 L25 9 V31.5 H3 Z"/><path class="chip__fold" d="M18.3 2.6 V9.2 H24.9"/></svg>
<span class="chip__ext">CSV</span>
</span>
<span class="chip__words"><span class="chip__name">contacts_q4.csv</span><span class="chip__size">312 KB</span></span>
</div>
</div>
</div>
<footer class="imp__foot">
<span class="state" aria-hidden="true">
<svg class="state__icon" viewBox="0 0 20 20">
<circle class="state__track" cx="10" cy="10" r="7.5"/>
<circle class="state__arc" data-arc cx="10" cy="10" r="7.5" pathLength="1"/>
<circle class="state__ring" data-ring cx="10" cy="10" r="7.5" pathLength="1"/>
<path class="state__tick" data-tick pathLength="1" d="M6.4 10.3 L8.9 12.7 L13.8 7.6"/>
</svg>
<span class="state__lines" data-lines>
<span class="state__line" data-line="drop">Waiting for a file</span>
<span class="state__line" data-line="read">Reading contacts_q4.csv</span>
<span class="state__line" data-line="match">Matching columns</span>
<span class="state__line" data-line="clean">Cleaning 1,312 rows</span>
<span class="state__line" data-line="merge">Merging 62 duplicates</span>
<span class="state__line" data-line="check">Checking emails</span>
<span class="state__line state__line--ok" data-line="done">Import complete</span>
</span>
</span>
<span class="imp__pct" data-pct aria-hidden="true">0%</span>
<button class="imp__btn" type="button" data-btn>
<span class="imp__btn-face">View contacts</span>
</button>
</footer>
</section>
<p class="sr" aria-live="polite" data-live></p>
</main>
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15.0/dist/gsap.min.js"></script>
<script src="script.js"></script>
</body>
</html>Change values, colours and text with the controls and watch the animation respond live. Or write in the code yourself. Then download the folder with your changes.
97 values to change
With the Animorio connector, Claude Code, ChatGPT, Cursor or VS Code take it from here, guide included, and fit it into your project. Paste this request:
Take “Contacts import loader” from Animorio and fit it into my siteThe rows all sit in one absolute layer and each is moved by the CSS with translateY(calc(var(--slot) * var(--row))). GSAP animates only --slot, a number of rows, never the row's transform: so the rows can fall, overlap and swap places, and if the window changes height --row (a clamp in vh) puts them back in place on its own, even in the middle of a move. The inner box (.row__in) and the cells have their own GSAP transforms, apart.
Each cell starts moved by an x, y and rotation taken from a pseudo random generator with a fixed seed (Park-Miller, seed × 16807 modulo 2³¹−1): on every loop the rows fall crooked the same way, and the email cell of a few rows starts almost in the name column. The size of the mess is a share of the row height, so on a phone it never leaves the card.
The light is a layer two rows tall that comes down with the --sweep variable. The moment it touches row i is worked out first: t = start + SWEEP × (i + 1.06) / 9, when its white line crosses the middle of the row. At that moment the row lights up, straightens and its cells go back to zero on back.out, 35 milliseconds apart; the raw typewriter text fades into the clean text, both stacked in the same grid cell.
Each figure is a column of eleven numbers (0-9 and 0 again) moved by −position em. The units turn with the decimal part of the value, the tens and the rest only in the last unit before the carry: position = figure + clamp((v mod 10ⁿ) − (10ⁿ − 1), 0, 1). It depends only on the value, so the same counter climbs to 1,312 and then rolls back to 1,248 without jumps.
The duplicate has a higher z-index: it comes down to --slot 0.16, over its twin and a little lower, then to 0 and fades, while the twin gives a small elastic squash. The Merged tag is born with no room (max-width and padding at zero) and opens to its width, so the name stays whole until it is needed. The rows with an error take the is-warn class (amber fill and edge in CSS), shake with x keyframes and go to --slot 5 and 6.
| Name | File | Default | What it changes |
|---|---|---|---|
SWEEP | script.js | 2.4 | The seconds the light takes to pass over the rows. |
FALL | script.js | 0.09 | The seconds between one falling row and the next. |
MESS | script.js | 1 | How crooked the rows fall in (0 straight). |
BOUNCE | script.js | 1.5 | How far the springs pass the mark (1 hardly, 3 a lot). |
HOLD | script.js | 3.2 | The seconds the finished import waits before it starts again. |
LOOP | script.js | true | Import again and again. |
For importing contacts, customers or products into a CRM, a back office, an app dashboard or an online store: it fills the seconds of the processing and shows what happens to the data (columns matched, rows cleaned, duplicates merged, errors to look at) instead of a mute bar. It works as a model for any loading of a table: the guest list of an event, the bookings of a hotel, the menu of a restaurant.
The same animation with adapted sizes: the card is 94% of the screen wide, the row height, the type and the gaps are sized on the height too, and below 440 pixels the Company column goes and the Merged tag loses its icon. Everything fits the phone frame.
Nothing moves or turns: the file fades in and out, the rows appear already straight in their place, the raw words fade into the clean ones, the rows that change place fade out and back in at the new one, the counter changes without rolling, the light passes only as colour, the tick and the button fade in.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 13 KB; the libraries: GSAP 28 KB.
Tested on 7 November 2026
Use it in your own projects and in your clients’ projects. Do not resell it or redistribute it as is. GSAP stays under its own Standard license. Full license.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.