
The liquid grid
Hover, Transitions
Searching for “voice search” turned up only voice buttons, no search bar: here is the voice search of a made-up clothing shop, Marlo, on warm white. Press the mic, the bar widens on a spring, the lens draws back and in place of the placeholder a waveform of thin lines follows the voice; the spoken words land in the field one at a time, blurred and then in focus, and two fix themselves (a grey “lining” becomes “linen”, “fifty” becomes “$50”). When the voice stops the waveform folds into a flat line, the words become three filter pills that drop under the bar and three result cards arrive. On hover a filter shows its x: remove “under $50” and the results reorder. Minimal style.
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>
<!--
"Voice search bar" 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>Voice search bar</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 voice search of a made-up clothing shop, Marlo: the mic opens the bar, a waveform of thin lines follows the
voice, the words land in the field one by one (some fix themselves), then turn into filter pills and three results -->
<section class="app" data-app aria-label="Voice search">
<p class="status" data-status aria-live="polite">Tap the mic and say what you need</p>
<div class="bar" data-bar>
<span class="bar__lens" data-lens aria-hidden="true">
<svg viewBox="0 0 20 20"><circle cx="8.6" cy="8.6" r="5.4"></circle><path d="M12.6 12.6l4 4"></path></svg>
</span>
<div class="bar__field">
<span class="bar__ph" data-ph>Search Marlo</span>
<div class="bar__line" data-line>
<span class="words" data-words></span>
<span class="wave" data-wave aria-hidden="true"><span class="wave__bars" data-bars></span><span class="wave__flat" data-flat></span></span>
</div>
</div>
<button class="mic" type="button" data-mic aria-label="Search by voice">
<span class="mic__bg" aria-hidden="true"></span>
<svg class="mic__icon" viewBox="0 0 20 20" aria-hidden="true"><rect x="7.2" y="2.6" width="5.6" height="9.4" rx="2.8"></rect><path d="M4.6 9.4a5.4 5.4 0 0 0 10.8 0M10 14.8v2.7"></path></svg>
</button>
</div>
<div class="chips" data-chips aria-label="Filters"></div>
<div class="results" data-results>
<div class="results__head">
<span class="results__count"><span data-count>18</span> results</span>
<span class="results__sort">Relevance<svg viewBox="0 0 12 12" aria-hidden="true"><path d="M3.4 4.8L6 7.4l2.6-2.6"></path></svg></span>
</div>
<ul class="grid" data-grid></ul>
</div>
</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.
26 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 “Voice search bar” from Animorio and fit it into my siteThe bar's width is calc(76% + 24% * var(--open)) and GSAP animates the --open variable from 0 to 1 with back.out: the spring goes just past a hundred percent and back, and the bar stays in percent at any window width.
The lines are 22 pixel spans scaled with scaleY on every frame by GSAP's ticker: two sines per line, a bell envelope that raises the middle ones and a syllable that comes and goes. The timeline only animates two numbers, how visible the wave is and how loud the voice is.
Lowered all the way, the lines would become dots: they go to zero while a one pixel horizontal line grows with scaleX from the middle, then draws away to the right.
Each word is an inline-grid with the first guess and the fix in the same cell: the first rises and blurs, the second drops into focus, and the width goes from the measured width of one to the other with back.out, so the following words move with it.
When they drop, each filter's words and the pill in its place are measured with getBoundingClientRect: the pill starts from the offset between the two centres, small and transparent, and lands on a spring. With the price filter gone, the remaining cards are measured before and after and slide from the old spot to the new one.
| Name | File | Default | What it changes |
|---|---|---|---|
SHOP | script.js | Marlo | The shop name in the placeholder. |
OPEN_SPRING | script.js | 1.4 | How far the bar overshoots when it widens. |
WORD_GAP | script.js | 0.62 | The time between one spoken word and the next. |
BLUR | script.js | 6 | How blurred the words are as they land. |
WAVE_BARS | script.js | 19 | How many lines the voice waveform has. |
WAVE_GAIN | script.js | 1 | How high the lines rise with the voice. |
CHIP_SPRING | script.js | 1.6 | How much the filters bounce as they drop. |
CARD_STAGGER | script.js | 0.09 | The stagger between one result card and the next. |
LOOP_PAUSE | script.js | 2.4 | The pause once the search is done before the loop starts again. |
In the header of an online shop or a marketplace, in a grocery or bookshop app, in a catalogue search where speaking beats typing, or in any search field that takes dictation.
The bar and the grid are in percent, the heights of the bar, the mic and the swatches also follow the height with clamp, and the waveform narrows with the width, so search, filters and three cards fit the phone preview box. Pills and reordering are measured afresh each time. On a phone the filters' x is always visible and touch replaces hover.
No springs, waves or flights: the bar shows the finished search straight away, with the words, the three filters and the results in place; removing a filter fades out the pill and its words, the cards change without sliding and the self-running loop does not start.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.2 KB; the libraries: GSAP 28 KB.
Tested on 22 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.