
The elastic button
Buttons, Hover, Text
The terminal on the home page of Noor Haddad, a made-up software engineer: a clean dark window with its bar and three flat circles, introducing itself. It types whoami and answers with the name and the job, ls projects with the three projects in columns, their languages and stars, cat stack.txt with the languages lighting up one by one, and contact with the email and a Copied pill. Then clear, and again. Click it and type for real: help, whoami, projects, stack, contact, clear, the arrows recall commands and a wrong command turns the prompt sign red. On black, with a single mint accent.
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>
<!--
"Whoami terminal" 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>Whoami terminal</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans@5.3.0/wdth.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/jetbrains-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="stage">
<!-- the terminal on the home page of Noor Haddad, a made-up software engineer.
It introduces itself: whoami, ls projects, cat stack.txt, contact.
Click it and type: help, whoami, projects, stack, contact, clear; arrows recall commands -->
<section class="term" data-term tabindex="0" aria-label="Terminal. Type help and press Enter.">
<header class="term__bar">
<span class="lights" aria-hidden="true"><i></i><i></i><i></i></span>
<span class="term__title">noor@studio <span class="dim">— zsh — 80×24</span></span>
<span class="term__badge" data-badge aria-hidden="true">
<span class="term__badge-in" data-badge-in>
<svg viewBox="0 0 12 12" class="term__badge-i"><path d="M2.6 6.3 4.9 8.5 9.4 3.7" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" pathLength="1"/></svg>
<span class="term__badge-t" data-badge-t>auto</span>
</span>
</span>
</header>
<div class="term__screen" data-screen>
<div class="term__out" data-out aria-live="polite"></div>
<p class="line line--prompt" data-live-line>
<span class="prompt" data-prompt><span class="who">noor@studio</span> <span class="path">~</span> <span class="sign">%</span></span>
<span class="typed" data-typed></span><span class="caret" data-caret aria-hidden="true"></span>
</p>
</div>
</section>
<p class="hint" aria-hidden="true">Click and type <kbd>help</kbd></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.
23 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 “Whoami terminal” from Animorio and fit it into my siteEach letter typed by itself is a call() on the timeline, with a small fixed offset taken from a sine: the rhythm feels human but is the same every time, and the timeline can be paused, rewound and scrubbed frame by frame.
Each command adds the echo line with its prompt and then the answer lines, each from zero opacity and four pixels lower, a tenth of a second apart.
The screen has overflow hidden and GSAP animates its scrollTop to the bottom after every answer: the last line always stays in view, even when the window changes height.
A click gives the window focus; Enter runs, Backspace deletes, the arrows walk the command history. The first key stops the automatic round, and a delayedCall starts it again after a few quiet seconds.
The Copied pill and the state pill are grids with place-items center and their content in an element of its own: the changing text never moves the centre.
| Name | File | Default | What it changes |
|---|---|---|---|
TYPE_SPEED | script.js | 0.085 | Seconds per typed character, on average. |
LINE_DELAY | script.js | 0.11 | Seconds between one answer line and the next. |
PAUSE | script.js | 1.1 | Seconds the terminal waits after an answer before the next command. |
BREATH | script.js | 0.85 | Seconds of the caret breathing in, and again out. |
AUTO_PAUSE | script.js | 6 | Seconds of quiet before the terminal goes back to introducing itself. |
NAME | script.js | "Noor Haddad" | The name whoami answers with. |
On the home page of a developer’s portfolio, instead of the usual intro: in a few seconds it says who you are, what you built, what you work with and how to reach you, and whoever wants can try it from the keyboard.
Everything is in em and the size follows both the width and the height of the window, so the window fits the short phone box; long lines wrap and the screen scrolls down by itself. A tap gives the window focus for the keyboard.
No typing by itself, no lines rising: the answers to whoami, ls projects and cat stack.txt are already in place, the caret is still and commands answer at once; the Copied pill fades in.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0, JetBrains Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.1 KB; the libraries: GSAP 28 KB.
Tested on 29 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.
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.