Skip to content
animorio
IT
All components

AI notification summary

Notifications, HoverGSAP, CSS onlyMediumCompressed weight: Demo 10 KBGSAP 28 KBFreeDownload the zip

The notification centre of a work app with artificial intelligence, in dark glass on black: four notifications arrive, the newest on top pushing the others down. Pressing Summarize a violet and aqua light runs along the panel's edge while a band of light reads the notifications one by one; then they pile into the first, which opens into the summary card, and the words come into focus one after another with the important bits coloured. Show all lays them out again on a spring, Clear slides them away.

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>
<!--
  "AI notification summary" 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>The notifications the AI sums up in one</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" data-stage>
    <!-- the notification centre of a work app with AI. Four notifications arrive in dark glass, the newest pushing the
         others down; Summarize sends a light around the panel while each one is read, then they pile into the first
         and open into one summary card whose words come into focus. Show all lays them out again -->
    <section class="inbox" data-inbox aria-label="Notifications">
      <span class="inbox__aura" aria-hidden="true"><span class="inbox__blob inbox__blob--a" data-blob></span><span class="inbox__blob inbox__blob--b" data-blob></span></span>
      <span class="inbox__grain" aria-hidden="true"></span>
      <span class="inbox__beam" data-beam aria-hidden="true"></span>
      <span class="inbox__glint" aria-hidden="true"></span>

      <header class="inbox__bar">
        <h2 class="inbox__title">Notifications</h2>
        <span class="inbox__count" aria-hidden="true"><span class="inbox__count-roll" data-roll><span>0</span><span>1</span><span>2</span><span>3</span><span>4</span></span></span>
        <button class="inbox__clear" type="button" data-clear>Clear</button>
        <button class="sum" type="button" data-sum aria-pressed="false">
          <span class="sum__face" data-sum-face>
            <svg class="sum__spark" data-spark viewBox="0 0 20 20" aria-hidden="true">
              <defs>
                <linearGradient id="sparkInk" x1="0" y1="0" x2="1" y2="1">
                  <stop offset="0" stop-color="var(--violet)"/>
                  <stop offset="1" stop-color="var(--aqua)"/>
                </linearGradient>
              </defs>
              <path d="M10 2.2c.5 3.9 1.9 5.3 5.8 5.8-3.9.5-5.3 1.9-5.8 5.8-.5-3.9-1.9-5.3-5.8-5.8 3.9-.5 5.3-1.9 5.8-5.8z" fill="url(#sparkInk)"/>
              <path d="M15.6 12.6c.2 1.5.7 2 2.2 2.2-1.5.2-2 .7-2.2 2.2-.2-1.5-.7-2-2.2-2.2 1.5-.2 2-.7 2.2-2.2z" fill="url(#sparkInk)" opacity=".8"/>
            </svg>
            <span class="sum__words" data-words>
              <span class="sum__word is-on" data-word="idle">Summarize</span>
              <span class="sum__word sum__word--shine" data-word="read">Reading</span>
              <span class="sum__word" data-word="done">Show all</span>
            </span>
          </span>
        </button>
      </header>

      <div class="inbox__list" data-list>
        <div class="slot" data-slot>
          <article class="note" data-note>
            <span class="note__scan" data-scan aria-hidden="true"></span>
            <span class="app app--aqua" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M4.5 6.5h11v8a1.5 1.5 0 0 1-1.5 1.5H6a1.5 1.5 0 0 1-1.5-1.5z"/><path d="M4.5 6.5l1.6-2.5h7.8l1.6 2.5M8 9.5h4"/></svg></span>
            <span class="note__body"><span class="note__top"><b class="note__app">Relay</b><time class="note__time">now</time></span><span class="note__title">Theo replied in launch-plan</span><span class="note__text">Copy is final, can you approve it?</span></span>
          </article>
        </div>
        <div class="slot" data-slot>
          <article class="note" data-note>
            <span class="note__scan" data-scan aria-hidden="true"></span>
            <span class="app app--violet" aria-hidden="true"><svg viewBox="0 0 20 20"><rect x="3.5" y="5.5" width="13" height="9.5" rx="2"/><path d="M3.5 8.8h13M6.5 12.2h3"/></svg></span>
            <span class="note__body"><span class="note__top"><b class="note__app">Ledger</b><time class="note__time">9m</time></span><span class="note__title">Invoice paid</span><span class="note__text">Northwind paid $1,240.00</span></span>
          </article>
        </div>
        <div class="slot" data-slot>
          <article class="note" data-note>
            <span class="note__scan" data-scan aria-hidden="true"></span>
            <span class="app app--aqua" aria-hidden="true"><svg viewBox="0 0 20 20"><rect x="3.5" y="4.5" width="13" height="12" rx="2"/><path d="M3.5 8h13M7 3v3M13 3v3M10 10.5v2.2l1.4.9"/></svg></span>
            <span class="note__body"><span class="note__top"><b class="note__app">Cadence</b><time class="note__time">5m</time></span><span class="note__title">Design review moved</span><span class="note__text">Maya: can we do 3:30 pm instead?</span></span>
          </article>
        </div>
        <div class="slot" data-slot>
          <article class="note" data-note>
            <span class="note__scan" data-scan aria-hidden="true"></span>
            <span class="app app--violet" aria-hidden="true"><svg viewBox="0 0 20 20"><path d="M10 3.5l6.5 12h-13z"/><path d="M8 12.2l1.4 1.3 2.6-2.8"/></svg></span>
            <span class="note__body"><span class="note__top"><b class="note__app">Pylon</b><time class="note__time">12m</time></span><span class="note__title">Deploy passed</span><span class="note__text">web-app is live on production</span></span>
          </article>
        </div>

        <article class="digest" data-digest aria-hidden="true">
          <span class="digest__edge" aria-hidden="true"></span>
          <header class="digest__head">
            <svg class="digest__spark" viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2.2c.5 3.9 1.9 5.3 5.8 5.8-3.9.5-5.3 1.9-5.8 5.8-.5-3.9-1.9-5.3-5.8-5.8 3.9-.5 5.3-1.9 5.8-5.8z" fill="url(#sparkInk)"/></svg>
            <b class="digest__name">Summary</b>
            <span class="digest__meta">4 notifications</span>
            <span class="digest__apps" aria-hidden="true"><span class="mini mini--aqua"><svg viewBox="0 0 20 20"><path d="M4.5 6.5h11v8a1.5 1.5 0 0 1-1.5 1.5H6a1.5 1.5 0 0 1-1.5-1.5z"/><path d="M4.5 6.5l1.6-2.5h7.8l1.6 2.5M8 9.5h4"/></svg></span><span class="mini mini--violet"><svg viewBox="0 0 20 20"><rect x="3.5" y="5.5" width="13" height="9.5" rx="2"/><path d="M3.5 8.8h13M6.5 12.2h3"/></svg></span><span class="mini mini--aqua"><svg viewBox="0 0 20 20"><rect x="3.5" y="4.5" width="13" height="12" rx="2"/><path d="M3.5 8h13M7 3v3M13 3v3M10 10.5v2.2l1.4.9"/></svg></span><span class="mini mini--violet"><svg viewBox="0 0 20 20"><path d="M10 3.5l6.5 12h-13z"/><path d="M8 12.2l1.4 1.3 2.6-2.8"/></svg></span></span>
          </header>
          <p class="digest__text" data-text>Your deploy <em>passed</em> and web-app is live. Maya moved the design review to <em>3:30 pm</em>, Northwind paid <em>$1,240</em>, and Theo is waiting for your approval on the launch copy.</p>
          <footer class="digest__foot" data-foot>
            <span class="digest__from">From 4 apps · just now</span>
            <button class="digest__reply" type="button" data-reply tabindex="-1">Reply to Theo<svg viewBox="0 0 16 16" aria-hidden="true"><path d="M3 8h9M8.5 4.4L12.1 8 8.5 11.6"/></svg></button>
          </footer>
        </article>
      </div>
    </section>
    <p class="sr" aria-live="polite" data-live></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>

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.

54 values to change

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 “AI notification summary” 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 black page a dark panel with round corners rises slowly: under its glass two patches of colour drift, one violet and one aqua, there is a fine grain and the edge catches the light at a point that travels (with a mouse it follows you). At the top ‘Notifications’ with its counter, ‘Clear’ and the glass ‘Summarize’ button with its sparkle. Four glass notifications arrive one at a time: each comes down on top out of focus, sharpens and passes its place by a hair before settling, pushing the others down, while the counter rolls from 0 to 4. They come from four invented apps: Pylon's passed deploy, Cadence's meeting moved to 3:30, Ledger's paid invoice, Theo's reply on Relay. The button is pressed, gives and comes back on a spring, the label turns into a shimmering ‘Reading’, the sparkle spins and a violet, white and aqua light runs twice along the panel's edge; meanwhile a band of light crosses the notifications one by one, as if reading them. Then the notifications pile into the first, the others barely visible underneath, and out of it opens the taller summary card with a coloured hairline on top: ‘Summary · 4 notifications’, the four overlapping icons and a sentence whose words come into focus one after another, with ‘passed’, ‘3:30 pm’ and ‘$1,240’ coloured from violet to aqua; below, the apps it came from and the light ‘Reply to Theo’ button. After a few seconds ‘Show all’ lays the notifications out again on a spring, then ‘Clear’ slides them away to the right and the loop starts over.

How it works

A glass panel with something behind it

Frosted glass (backdrop-filter with blur and saturation) needs something to blur: inside the panel, under the notifications, two radial violet and aqua patches blurred by 38 px drift slowly with GSAP, and on top there is an SVG grain made with feTurbulence in a data URI, in overlay at 6%.

The edge that catches light

Two layers as big as the panel with 1 px of padding and a mask that leaves only the border (content-box excluded). In the first a radial gradient at --mx --my, which GSAP brings to the pointer or slides along the top side. In the second a violet, white and aqua conic-gradient whose angle --a GSAP spins while the AI reads.

Notifications that push

Each notification sits in a holder whose height goes from 0 to auto: as it grows it pushes the others down with no maths. Inside, the notification comes down 16 px, from 0.93 to 1 and from blurred to sharp with a back.out that passes the mark. The counter is a column of digits moved in steps of yPercent.

Pile and open

When summing up, the notifications' positions (offsetTop) are read: each moves up by its distance, 5 px apart and a little smaller, and the panel shortens to the height of one. The summary card is born on top with a clip-path inset as tall as a notification and opens to its real height while the panel follows it.

Words coming into focus

The sentence is split into words on load, keeping the em of the important ones (coloured with a gradient clipped to the text). They come in with opacity, a 7 px rise and a blur from 7 to 0, 35 ms apart. Every size is read again at each change, because the box changes height while you watch it.

Values to change

NameFileDefaultWhat it changes
READ_TIMEscript.js1.5How many seconds the AI reads, with the light running along the edge.
WORD_STAGGERscript.js0.035The seconds between one word of the summary and the next as they come into focus.
ARRIVE_GAPscript.js0.42The seconds between one notification arriving and the next.
OVERSHOOTscript.js1.6How far the notifications pass their place before settling: 1 barely, 3 a bounce.
BEAM_TURNSscript.js2How many laps the light runs along the edge while the AI reads.
HOLDscript.js3.2How many seconds the summary stays before the loop lays everything out again.
LOOPscript.jstrueRuns the whole loop again on its own.

Try them in the Playground

When to use it

For a work or productivity app with artificial intelligence, a dashboard, a mail or messaging client: the notification centre that, when they pile up, gathers them into a single sentence.

On phones

The same animation with adapted sizes: the panel is as wide as the box, the notifications and margins get shorter with the screen height, long texts end in an ellipsis and the edge light travels on its own; the buttons work with a finger.

With reduced motion

Nothing moves: the notifications fade in already in place, the edge light fades on and off without travelling, the summary takes the notifications' place with a fade and its words already in place.

Pitfalls

  • Frosted glass on a plain black page does not show: without the two colour patches inside the panel the notifications looked just grey.
  • A CSS variable written with clamp() cannot be read as a number with getComputedStyle (it returns the formula's text): the gap between notifications is worked out in JavaScript with the same formula.
  • The piled notifications stay in the page's flow: the panel needs its height fixed in pixels while it shortens, removed only once they are back in a row.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

Tested on 1 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 components