
Speeding marquee
Scroll, Text, Hover
The FAQ of Pantile, a made-up branding studio, told as a chat. Every question is a speech bubble: opening it, it shrinks to half its width and takes a terracotta outline, and the studio’s answer grows out of the bottom right corner with a small bounce; the round mark pops in, three dots type for a moment, the answer rises into place and the time and a read mark settle underneath. One open at a time, and closing plays it all backwards. The timings come from the Two26 Studio website.
Rebuilt from scratch studying two26.studio by ZzStudio: the idea is theirs; code, copy and images are ours. Read how it’s made
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>
<!--
"Chat bubble FAQ" 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>Pantile Studio, questions</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/schibsted-grotesk@5.3.0/index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource-variable/geist-mono@5.3.0/index.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- The FAQ of Pantile, a made-up branding studio, told as a chat. Each question is a speech bubble; opening it
shrinks the bubble to half its width and outlines it, then the studio answers from the bottom right corner:
its round mark pops in, three dots say it is typing, the answer rises and the time and a read mark settle. -->
<main class="scena">
<section class="chat" aria-label="Questions for Pantile Studio" data-chat>
<header class="chat__testa">
<span class="marchio" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 13.6c2.2 0 2.2-6.4 4.6-6.4s2.4 6.4 4.8 6.4 2.4-6.4 4.6-6.4"/><path d="M5 16.8h14"/></svg></span>
<span class="chat__nome">
<strong>Pantile Studio</strong>
<span class="chat__stato">Usually replies in a few minutes</span>
</span>
<span class="chat__ora" aria-hidden="true">Mon–Fri, 9–6</span>
</header>
<ul class="faq" data-faq>
<li class="voce" data-voce>
<button class="domanda" type="button" aria-expanded="false">
<span class="domanda__testo">How long does a brand identity take?</span>
<span class="segno" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M10 5.5v9M5.5 10h9"/></svg></span>
</button>
<div class="risposta" role="region" data-risposta>
<div class="risposta__riga">
<div class="bolla">
<span class="puntini" aria-hidden="true"><i></i><i></i><i></i></span>
<p class="bolla__testo">Six to eight weeks, from the first call to the final files. Small refreshes can be done in three.</p>
</div>
<span class="marchio marchio--piccolo" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 13.6c2.2 0 2.2-6.4 4.6-6.4s2.4 6.4 4.8 6.4 2.4-6.4 4.6-6.4"/><path d="M5 16.8h14"/></svg></span>
</div>
<p class="meta"><span class="meta__ora">10:42</span><span class="letto">Read<svg viewBox="0 0 22 12" aria-hidden="true"><path pathLength="1" d="M1.5 6.4 4.8 9.6 11 2.6"/><path pathLength="1" d="M8.6 9.4l.3.2L15.2 2.6"/></svg></span></p>
</div>
</li>
<li class="voce" data-voce>
<button class="domanda" type="button" aria-expanded="false">
<span class="domanda__testo">What does a project cost?</span>
<span class="segno" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M10 5.5v9M5.5 10h9"/></svg></span>
</button>
<div class="risposta" role="region" data-risposta>
<div class="risposta__riga">
<div class="bolla">
<span class="puntini" aria-hidden="true"><i></i><i></i><i></i></span>
<p class="bolla__testo">Identities start at €9,000. We send a fixed quote after the first call, so nothing grows later.</p>
</div>
<span class="marchio marchio--piccolo" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 13.6c2.2 0 2.2-6.4 4.6-6.4s2.4 6.4 4.8 6.4 2.4-6.4 4.6-6.4"/><path d="M5 16.8h14"/></svg></span>
</div>
<p class="meta"><span class="meta__ora">10:44</span><span class="letto">Read<svg viewBox="0 0 22 12" aria-hidden="true"><path pathLength="1" d="M1.5 6.4 4.8 9.6 11 2.6"/><path pathLength="1" d="M8.6 9.4l.3.2L15.2 2.6"/></svg></span></p>
</div>
</li>
<li class="voce" data-voce>
<button class="domanda" type="button" aria-expanded="false">
<span class="domanda__testo">What do you need from us to start?</span>
<span class="segno" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M10 5.5v9M5.5 10h9"/></svg></span>
</button>
<div class="risposta" role="region" data-risposta>
<div class="risposta__riga">
<div class="bolla">
<span class="puntini" aria-hidden="true"><i></i><i></i><i></i></span>
<p class="bolla__testo">An hour with the founders and anything you already have: old logos, photos, the things you love.</p>
</div>
<span class="marchio marchio--piccolo" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 13.6c2.2 0 2.2-6.4 4.6-6.4s2.4 6.4 4.8 6.4 2.4-6.4 4.6-6.4"/><path d="M5 16.8h14"/></svg></span>
</div>
<p class="meta"><span class="meta__ora">10:47</span><span class="letto">Read<svg viewBox="0 0 22 12" aria-hidden="true"><path pathLength="1" d="M1.5 6.4 4.8 9.6 11 2.6"/><path pathLength="1" d="M8.6 9.4l.3.2L15.2 2.6"/></svg></span></p>
</div>
</li>
<li class="voce" data-voce>
<button class="domanda" type="button" aria-expanded="false">
<span class="domanda__testo">Do you build the website too?</span>
<span class="segno" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M10 5.5v9M5.5 10h9"/></svg></span>
</button>
<div class="risposta" role="region" data-risposta>
<div class="risposta__riga">
<div class="bolla">
<span class="puntini" aria-hidden="true"><i></i><i></i><i></i></span>
<p class="bolla__testo">We design it, and a small team we have worked with for years builds it with us.</p>
</div>
<span class="marchio marchio--piccolo" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 13.6c2.2 0 2.2-6.4 4.6-6.4s2.4 6.4 4.8 6.4 2.4-6.4 4.6-6.4"/><path d="M5 16.8h14"/></svg></span>
</div>
<p class="meta"><span class="meta__ora">10:51</span><span class="letto">Read<svg viewBox="0 0 22 12" aria-hidden="true"><path pathLength="1" d="M1.5 6.4 4.8 9.6 11 2.6"/><path pathLength="1" d="M8.6 9.4l.3.2L15.2 2.6"/></svg></span></p>
</div>
</li>
</ul>
</section>
</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.
35 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 “Chat bubble FAQ” from Animorio and fit it into my siteThe question is a button 100% wide: opening it, GSAP takes the width to 50% (75% when the chat is narrow) and the border colour from transparent to terracotta in 0.45 seconds with power2.out. The text wraps by itself, because no text is nowrap.
The answer wrapper goes from height 0 to auto and the bubble from scale 0 to 1 with its transform-origin at the bottom right, both in 0.5 seconds with back.out(1.6) after 0.05; the studio disc comes in at +0.15 with back.out(2).
Three dots sit over the bubble until the answer arrives: they rise three pixels one after the other, 0.12 seconds apart, for TYPING_TIME; then the answer rises from 20 pixels and zero opacity in 0.4 seconds.
The time and «Read» arrive 0.18 seconds after the answer; the two ticks are paths with pathLength 1 drawn with stroke-dashoffset, with autoRound off so GSAP does not round the values to 0 or 1.
The answer drops 15 pixels and fades in 0.22 seconds, the disc goes to scale 0 at +0.12, bubble and wrapper close in 0.4 seconds at +0.15 and the question grows back to full width without its border at +0.18. Opening a question closes the others.
| Name | File | Default | What it changes |
|---|---|---|---|
SHRINK_TO | script.js | 50 | Percent of the width an open question shrinks to (75 on narrow screens). |
OPEN_TIME | script.js | 0.45 | Seconds the question takes to shrink and take its outline. |
ANSWER_POP | script.js | 1.6 | How far the answer bubble goes past its size as it grows from the corner: 0 is none. |
TYPING_TIME | script.js | 0.6 | Seconds the three dots type before the answer appears. |
TEXT_RISE | script.js | 20 | Pixels the answer text rises from. |
AUTOPLAY_PAUSE | script.js | 2.4 | Seconds an answer stays open in the tour on its own. |
For the FAQ of a studio, an agency, a service or a shop that wants to feel close: the answers arrive like a chat with the people who work there, and one open question at a time keeps the page short.
On a phone the chat takes almost the whole width, the open question shrinks to 75% instead of half, the opening hours on top go and sizes follow the height too, so the questions and the open answer fit the screen. It opens with a finger.
No movement or bounce: the question takes its width and outline at once, the answer appears whole with a fade, without the dots, with the ticks already drawn.
GSAP 3.15.0, Schibsted Grotesk (font variabile) 5.3.0, Geist Mono (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 6.5 KB; the libraries: GSAP 28 KB.
Tested on 28 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.