
The colour columns
Hover, SVG
A database schema, in a card on warm white, minimal style: three tables with their fields, joined by threads ending in a bar on the one side and a crow’s foot on the many. Pointing at a table turns its border and header green, the threads to the tables it is tied to redraw themselves with dashes running along them from the one to the many, the keys at both ends light up and the line below says the relation in words.
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>
<!--
"Database schema" 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>Database schema</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">
<!-- a database schema: three tables with their fields, joined by their relations. Pointing at a table lights
its keys, redraws the threads to the tables it is tied to and says the relation in words -->
<section class="sd" data-sd aria-label="Database schema">
<header class="sd__head"><strong>Schema</strong><span>shop_db</span></header>
<div class="sd__board" data-board>
<svg class="sd__wires" data-wires aria-hidden="true"></svg>
<button type="button" class="sd__t sd__t--users" data-table="0" aria-label="Table users"><strong>users</strong><ul><li data-end="users.id"><span class="sd__mark"><svg viewBox="0 0 12 12" aria-hidden="true"><circle cx="4" cy="6" r="2.300"></circle><path d="M6.300 6h4.200M8.800 6v2M10.500 6v1.400"></path></svg></span><b>id</b><i>int</i></li><li><span class="sd__mark"></span><b>name</b><i>text</i></li><li><span class="sd__mark"></span><b>email</b><i>text</i></li></ul></button>
<button type="button" class="sd__t sd__t--orders" data-table="1" aria-label="Table orders"><strong>orders</strong><ul><li data-end="orders.id"><span class="sd__mark"><svg viewBox="0 0 12 12" aria-hidden="true"><circle cx="4" cy="6" r="2.300"></circle><path d="M6.300 6h4.200M8.800 6v2M10.500 6v1.400"></path></svg></span><b>id</b><i>int</i></li><li data-end="orders.user_id"><span class="sd__mark"><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M5 7 7 5M4.300 5.200 3.200 6.300a1.800 1.800 0 0 0 2.500 2.500l1.100-1.100M7.700 6.800l1.100-1.100a1.800 1.800 0 0 0-2.500-2.500L5.200 4.300"></path></svg></span><b>user_id</b><i>int</i></li><li><span class="sd__mark"></span><b>total</b><i>money</i></li><li><span class="sd__mark"></span><b>placed_at</b><i>date</i></li></ul></button>
<button type="button" class="sd__t sd__t--items" data-table="2" aria-label="Table order_items"><strong>order_items</strong><ul><li data-end="items.id"><span class="sd__mark"><svg viewBox="0 0 12 12" aria-hidden="true"><circle cx="4" cy="6" r="2.300"></circle><path d="M6.300 6h4.200M8.800 6v2M10.500 6v1.400"></path></svg></span><b>id</b><i>int</i></li><li data-end="items.order_id"><span class="sd__mark"><svg viewBox="0 0 12 12" aria-hidden="true"><path d="M5 7 7 5M4.300 5.200 3.200 6.300a1.800 1.800 0 0 0 2.500 2.500l1.100-1.100M7.700 6.800l1.100-1.100a1.800 1.800 0 0 0-2.500-2.500L5.200 4.300"></path></svg></span><b>order_id</b><i>int</i></li><li><span class="sd__mark"></span><b>product</b><i>text</i></li><li><span class="sd__mark"></span><b>qty</b><i>int</i></li></ul></button>
</div>
<p class="sd__info"><span class="sd__clip"><span data-outinfo>3 tables, 2 relations</span></span></p>
</section>
<span class="live" aria-live="polite" data-live></span>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.200 19.200 11l-6.300 1.600-3.300 5.900Z"></path></svg>
</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.
36 values to change
Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI
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 “Database schema” from Animorio and fit it into my siteThe tables are real elements, placed by hand in the board; over them is an svg as large as the board where the script draws the threads.
Each thread measures where the two rows it joins really are and leaves from the side facing the other table, on a curve with two horizontal handles.
The bar and the crow’s foot are two small paths worked out from the same points: they give the direction of the relation without colour.
Pointing at a table lights the threads touching it: the path redraws itself and a second dashed path runs over it, from the one to the many.
| Name | File | Default | What it changes |
|---|---|---|---|
ACCENT | script.js | #1f9d6b | The colour of the pointed table and its threads. |
BEND | script.js | 0.55 | How much the threads between tables curve. |
FLOW | script.js | 26 | How many pixels a second the dashes run along the lit thread, from the one to the many. |
LOOP | script.js | true | Left alone, the demo’s pointer points at the three tables one after the other. |
On the page of a managed database, an ORM or a data modelling tool; in an API’s documentation, to show how resources are tied together; and in a developer’s portfolio, to tell a project’s model. The same threads between cards carry an org chart, a map of services or an automation flow.
The card is at most 348 pixels wide and about 320 tall; the board gets shorter on short screens and the threads are worked out again at every size change. With a finger a tap on a table lights it, a second tap or a tap elsewhere turns it off.
No threads redrawing and no running dashes: pointing at a table changes colours, keys and text in one step and the lit thread stays still. The demo’s pointer does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.0 KB; the libraries: GSAP 28 KB.
Tested on 1 December 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.
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.