Skip to content
animorio
IT
Back to the library

Concierge request

Hover, TransitionsGSAP, CSS onlyMediumCompressed weight: Demo 6.5 KBGSAP 28 KBFreeDownload the zip

A hotel guest asks the concierge for something from the app: a taxi to the airport, a table for dinner, two more pillows. Once sent, the chosen request rises to the top on a spring, the others step back and below it three bars fill one after the other, “Received”, “On it”, “Arranged”, with the bell swinging at every step and the confirmation written at the end.

The code

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>
<!--
  "Concierge request" 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>Concierge request</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 hotel guest asks the concierge for something: the chosen request rises to the top, the others step
         back, and three bars fill as the front desk receives it, works on it and arranges it -->
    <section class="cg" data-cg aria-labelledby="cg-title">
      <header class="cg__head">
        <span class="cg__bell" aria-hidden="true"><svg data-bell viewBox="0 0 24 24"><path d="M3.500 19h17M5.500 16.500a6.500 6.500 0 0 1 13 0ZM12 10V7.800M10.300 7.500h3.400"></path></svg></span>
        <span class="cg__name"><b id="cg-title">Concierge</b><span>Hotel Alder, room 412</span></span>
        <span class="cg__state" aria-live="polite"><span data-state>Replies in 2 min</span></span>
      </header>

      <div class="cg__body">
        <div class="cg__list" role="radiogroup" aria-label="What do you need" data-list>
          <button class="cg__opt" type="button" role="radio" aria-checked="true" data-opt data-done="Taxi booked, lobby at 06:30">
            <span class="cg__ico" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M4.500 14.500 6 9.800A2 2 0 0 1 7.900 8.500h8.200a2 2 0 0 1 1.900 1.300l1.500 4.700v3h-15ZM7 17.500v1.500M17 17.500v1.500M7.500 14.500h1M15.500 14.500h1M10 6h4"></path></svg></span>
            <span class="cg__what"><b>Airport taxi</b><span>Tomorrow, 06:30</span></span>
            <svg class="cg__tick" viewBox="0 0 16 16" aria-hidden="true"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg>
          </button>
          <button class="cg__opt" type="button" role="radio" aria-checked="false" tabindex="-1" data-opt data-done="Table for two, Osteria Lume, 20:00">
            <span class="cg__ico" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M7 4v6.500M4.800 4v3.500a2.200 2.200 0 0 0 4.400 0V4M7 10.500V20M16.500 20v-6.500M16.500 13.500c-1.600-.6-2.500-2.200-2.500-4.500 0-2.800 1.100-5 2.500-5Z"></path></svg></span>
            <span class="cg__what"><b>Dinner table</b><span>Tonight, 20:00, 2 guests</span></span>
            <svg class="cg__tick" viewBox="0 0 16 16" aria-hidden="true"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg>
          </button>
          <button class="cg__opt" type="button" role="radio" aria-checked="false" tabindex="-1" data-opt data-done="Two pillows on their way up">
            <span class="cg__ico" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M5 8.500c2.300-1.300 11.700-1.300 14 0 .9 2.300.9 4.700 0 7-2.300 1.300-11.700 1.300-14 0-.9-2.300-.9-4.700 0-7ZM9 11.500h6"></path></svg></span>
            <span class="cg__what"><b>Extra pillows</b><span>Now, to the room</span></span>
            <svg class="cg__tick" viewBox="0 0 16 16" aria-hidden="true"><path pathLength="1" d="m3.500 8.300 3 3 6-6.600"></path></svg>
          </button>
        </div>

        <div class="cg__track" data-track aria-hidden="true">
          <div class="cg__bars">
            <span class="cg__bar"><i data-fill></i></span>
            <span class="cg__bar"><i data-fill></i></span>
            <span class="cg__bar"><i data-fill></i></span>
          </div>
          <div class="cg__steps">
            <span data-step>Received</span>
            <span data-step>On it</span>
            <span data-step>Arranged</span>
          </div>
          <p class="cg__say"><span data-say>Sent to the front desk</span></p>
        </div>
      </div>

      <button class="cg__go" type="button" data-go><span class="cg__gotext"><span data-golabel>Send request</span></span></button>
    </section>

    <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>

Playground

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.

27 values to change

Works with Claude, Claude Code, ChatGPT, Cursor, VS Code, Windsurf, Codex, Gemini CLI

Or ask your AI assistant for it

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 “Concierge request” from Animorio and fit it into my site
Platform licenseFree on your sites and your clients’ sites. Want it inside a website builder, a template platform or a client dashboard? There’s a license for agencies and platforms.

What it does

On a cream ground, a white card: the desk bell in a pale green tile, “Concierge”, “Hotel Alder, room 412” and on the right “Replies in 2 min”. Three requests, each with its line icon and a line below: “Airport taxi, Tomorrow, 06:30”, “Dinner table, Tonight, 20:00, 2 guests”, “Extra pillows, Now, to the room”. The chosen one has a very pale green ground and the tick drawing itself on the right. Press “Send request” and the other two step back and fade, the chosen one rises to the top on a spring and three thin bars with their words come in below. The first fills with green: “Received”, the bell swings and settles, the state at the top rolls to “Received” and the line says “Sent to the front desk”. Then the second, “Marta is on it”. Then the third, “All set”, with the real confirmation: “Table for two, Osteria Lume, 20:00”. The button, which had gone grey with “Request sent”, is active again as “New request”: the request goes back down to its place and the others come back one after the other.

How it works

The choice

Three buttons in a radiogroup, with the keyboard arrows. The tick is a path with pathLength 1 that draws itself with a CSS transition when the row is chosen.

Rising to the top

The chosen row moves in y by minus its height times its place; the others lose opacity and move ten pixels away. The card’s body keeps the height of the three rows, so the card does not change size.

The three steps

Three delayed calls STEP seconds apart: each fills its bar with scaleX, lights its word, changes the state at the top and the line below.

The bell

The whole svg rotates around its base: it starts at RING degrees and returns to zero on a tight elastic, like a bell that stops swinging.

Going back

“New request” resets the bars once the steps panel has already faded, brings the row back to its place and lets the others return staggered.

Values to change

NameFileDefaultWhat it changes
ACCENTscript.js#1f6b52The colour of the choice, of the bars and of the bell.
STEPscript.js1.3The seconds between one step and the next: received, on it, arranged.
FILLscript.js0.6How long a bar takes to fill.
RINGscript.js16How many degrees the bell swings at every step.
SPRINGscript.js1How much the request bounces as it rises to the top: 0.3 = a little, 2 = a lot.
LOOPscript.jstrueLeft alone, the demo’s pointer picks a request, sends it and then opens a new one.

Try them in the Playground

When to use it

In the app or site of a hotel, a resort, serviced apartments or a holiday home with a host service: for the guest’s requests during the stay, with a status they can see without phoning the front desk.

On phones

The same card, as wide as the screen minus the margins: the rows are 50 pixels tall and chosen with a finger, long texts are cut with an ellipsis, and the chosen row rises by the right amount even if the screen changes width half way.

With reduced motion

No rising and no swinging: the other requests fade, the chosen one reappears already at the top, the bars fill in one step and the bell stays still; state and confirmation change without rolling. The demo does not move by itself.

Pitfalls

  • Hotel, people and times are made up and no request is sent: in a real app the steps come from the front desk, and the request may also need an answer from the guest.
  • The state is not told by the bars alone: each step has its word, the state at the top and a line saying what happened.
  • While the request is under way the rows and the button are disabled: no changing request half way.
  • The bars reset only after the steps panel has faded, otherwise they would be seen emptying.
  • A bell rotating around its centre looks like a spinning icon: the pivot is low, on the base (transform-origin 50% 79%), passed to GSAP too.
  • The demo’s pass waits for the request to be really arranged before pressing “New request”: it stays in time even when STEP changes.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

Compressed with gzip, the three demo files weigh 6.5 KB; the libraries: GSAP 28 KB.

Testing

Tested on 24 November 2026

  • Desktop: Done
  • Phone: Done
  • Reduced motion: Done
  • Safari on iPhone: To do

License

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.

All animations