Skip to content
animorio
IT
All components

What’s new stories

Stories, TransitionsGSAP, CSS onlyAdvancedCompressed weight: Demo 15 KBGSAP 28 KBFreeDownload the zip

The new features of a made-up planning app, Quillo 4.2, told as stories, in the premium style of Dribbble shots. At rest there is only the app's circle with a gradient ring split into four arcs, one per novelty; a tap tightens it and the panel opens out of it as a growing circle, while the icon's disc stretches into the interface card of the first screen. Four screens drawn from shapes (focus mode switching on, a shared list ticked by a friend, notes folding into a summary, widgets filling up), segmented bars at the top that fill with time, a tap on the right or left to go on or back with the card changing shape and turning a little, a long press to pause. At the end the panel closes back into the circle and the arcs of the novelties you saw turn grey one after another: «Seen».

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>
<!--
  "What’s new stories" 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>What's new in Quillo</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 what's new stories of an app: a ring with one arc per novelty, which tightens under the finger and opens
         into a panel; four screens whose interface card changes shape from one to the next, bars that fill, a tap to go
         on or back, a press to pause; at the end the panel closes into the ring, whose arcs turn grey -->
    <section class="wn" aria-label="What's new in Quillo" data-wn>
      <div class="wn__ringpos">
        <button class="ring" type="button" aria-label="See what's new in Quillo: 4 new" data-ring>
          <svg class="ring__arcs" viewBox="0 0 100 100" aria-hidden="true">
            <defs>
              <linearGradient id="wn-ring" x1="10" y1="8" x2="92" y2="94" gradientUnits="userSpaceOnUse">
                <stop offset="0" stop-color="var(--violet)"/>
                <stop offset="0.55" stop-color="var(--coral)"/>
                <stop offset="1" stop-color="var(--amber)"/>
              </linearGradient>
            </defs>
            <g class="ring__grey" data-grey></g>
            <g class="ring__live" data-arcs></g>
          </svg>
          <span class="ring__icon" aria-hidden="true" data-icon>
            <svg viewBox="0 0 40 40">
              <defs>
                <linearGradient id="wn-icon" x1="6" y1="4" x2="34" y2="36" gradientUnits="userSpaceOnUse">
                  <stop offset="0" stop-color="var(--violet)"/>
                  <stop offset="1" stop-color="var(--coral)"/>
                </linearGradient>
              </defs>
              <rect x="4" y="4" width="32" height="32" rx="10" fill="url(#wn-icon)"/>
              <path d="M20 11.5a8.5 8.5 0 1 0 5.2 15.2" fill="none" stroke="#fff" stroke-width="3.2" stroke-linecap="round"/>
              <path d="M22.4 22.6l6.2 6.4" fill="none" stroke="#fff" stroke-width="3.2" stroke-linecap="round"/>
              <path d="M6 9c6-4 18-5 28 0" fill="none" stroke="#fff" stroke-opacity=".28" stroke-width="1"/>
            </svg>
          </span>
        </button>
        <p class="ring__label"><span class="ring__word" data-label>What's new</span><span class="ring__count" data-count>4 new</span></p>
      </div>

      <div class="panel" role="dialog" aria-label="What's new in Quillo 4.2" tabindex="-1" data-panel>
        <div class="panel__bg" aria-hidden="true" data-bg><i class="glow glow--a" data-glow-a></i><i class="glow glow--b" data-glow-b></i></div>
        <div class="panel__grain" aria-hidden="true"></div>

        <div class="panel__chrome" data-chrome>
          <div class="panel__bars" aria-hidden="true" data-bars></div>
          <div class="panel__head">
            <span class="panel__app" aria-hidden="true">
              <svg viewBox="0 0 40 40"><rect x="2" y="2" width="36" height="36" rx="11" fill="url(#wn-icon)"/><path d="M20 11.5a8.5 8.5 0 1 0 5.2 15.2" fill="none" stroke="#fff" stroke-width="3.4" stroke-linecap="round"/><path d="M22.4 22.6l6.2 6.4" fill="none" stroke="#fff" stroke-width="3.4" stroke-linecap="round"/></svg>
            </span>
            <span class="panel__who"><b>Quillo</b><span>What's new in 4.2</span></span>
            <button class="panel__close" type="button" aria-label="Close what's new" data-close>
              <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 7l10 10M17 7L7 17"/></svg>
            </button>
          </div>
          <p class="panel__paused" aria-hidden="true" data-paused>
            <svg viewBox="0 0 12 12"><rect x="2.5" y="2" width="2.4" height="8" rx="1"/><rect x="7.1" y="2" width="2.4" height="8" rx="1"/></svg>Paused
          </p>
        </div>

        <div class="device" data-device>
          <i class="device__gloss" aria-hidden="true"></i>

          <!-- focus mode -->
          <div class="ill ill--focus" data-ill aria-hidden="true">
            <div class="f">
              <div class="f__top"><span class="f__label">Focus</span><span class="tg" data-tg><i data-knob></i></span></div>
              <div class="f__rows">
                <div class="f__row" data-frow><span class="box"></span><span class="ln" style="--w:72%"></span></div>
                <div class="f__row f__row--on" data-frow><span class="box"></span><span class="ln" style="--w:86%"></span><span class="f__tag">Now</span></div>
                <div class="f__row" data-frow><span class="box"></span><span class="ln" style="--w:58%"></span></div>
              </div>
              <div class="f__timer">
                <svg viewBox="0 0 40 40"><circle cx="20" cy="20" r="16"/><circle class="f__arc" cx="20" cy="20" r="16" pathLength="1" data-farc/></svg>
                <span><b data-clock>25:00</b><small>Deep work</small></span>
              </div>
            </div>
          </div>

          <!-- shared lists -->
          <div class="ill ill--shared" data-ill aria-hidden="true">
            <div class="s">
              <div class="s__head">
                <span class="s__title">Weekend trip</span>
                <span class="s__avs"><b class="av av--a" data-av>AM</b><b class="av av--b" data-av>JO</b><b class="av av--c" data-av>KS</b></span>
              </div>
              <div class="s__rows">
                <div class="s__row" data-srow><span class="box"><svg viewBox="0 0 12 12"><path d="M2.6 6.3l2.2 2.2 4.6-5" pathLength="1"/></svg></span><span class="s__txt">Book the cabin<i></i></span></div>
                <div class="s__row" data-srow><span class="box"><svg viewBox="0 0 12 12"><path d="M2.6 6.3l2.2 2.2 4.6-5" pathLength="1"/></svg></span><span class="s__txt">Pack the stove<i></i></span></div>
                <div class="s__row" data-srow><span class="box"><svg viewBox="0 0 12 12"><path d="M2.6 6.3l2.2 2.2 4.6-5" pathLength="1"/></svg></span><span class="s__txt">Buy coffee<i></i></span></div>
              </div>
              <span class="s__cursor" data-cursor><svg viewBox="0 0 14 16"><path d="M1.5 1.5l10.5 6-4.6 1.2-2.2 4.4z"/></svg><b>Jo</b></span>
            </div>
          </div>

          <!-- smart summary -->
          <div class="ill ill--summary" data-ill aria-hidden="true">
            <div class="m">
              <div class="m__notes" data-notes>
                <span class="m__meta">Team sync &middot; 32 min</span>
                <i class="m__ln" style="--w:94%"></i><i class="m__ln" style="--w:80%"></i><i class="m__ln" style="--w:88%"></i><i class="m__ln" style="--w:66%"></i><i class="m__ln" style="--w:76%"></i>
                <i class="m__sheen" data-sheen></i>
              </div>
              <div class="m__sum" data-sum>
                <span class="m__star"><svg viewBox="0 0 16 16"><path d="M8 1.2c.5 3.6 2.9 6.2 6.8 6.8-3.9.6-6.3 3.2-6.8 6.8-.5-3.6-2.9-6.2-6.8-6.8C5.1 7.4 7.5 4.8 8 1.2z"/></svg>Summary</span>
                <span class="m__line" data-mline>Launch moves to Friday.</span>
                <span class="m__line" data-mline>Ana owns the beta list.</span>
                <span class="m__chips"><b data-chip>3 tasks</b><b data-chip>Fri 10:00</b></span>
              </div>
            </div>
          </div>

          <!-- widgets -->
          <div class="ill ill--widgets" data-ill aria-hidden="true">
            <div class="w">
              <div class="w__tile w__tile--chart" data-tile>
                <small>This week</small>
                <span class="w__bars"><i style="--h:42%"></i><i style="--h:64%"></i><i style="--h:50%"></i><i style="--h:82%"></i><i style="--h:58%"></i><i style="--h:92%"></i><i style="--h:36%"></i></span>
              </div>
              <div class="w__tile w__tile--goal" data-tile>
                <svg viewBox="0 0 40 40"><circle cx="20" cy="20" r="14"/><circle class="w__arc" cx="20" cy="20" r="14" pathLength="1" data-warc/></svg>
                <span><b data-goal>0%</b><small>Goal</small></span>
              </div>
              <div class="w__tile w__tile--done" data-tile>
                <b data-done>0</b><small>done today</small>
              </div>
              <div class="w__tile w__tile--streak" data-tile>
                <small>Streak</small>
                <span class="w__sq"><i></i><i></i><i></i><i></i><i></i><i></i><i></i></span>
              </div>
            </div>
          </div>
        </div>

        <div class="copy" data-copy>
          <p class="copy__kicker" data-kicker></p>
          <h2 class="copy__title" data-title></h2>
          <p class="copy__note" data-note></p>
        </div>
        <button class="cta" type="button" data-cta><span class="cta__bg" aria-hidden="true"></span><span class="cta__txt">Got it</span></button>

        <span class="hint hint--l" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M14.5 6.5L9 12l5.5 5.5"/></svg></span>
        <span class="hint hint--r" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M9.5 6.5L15 12l-5.5 5.5"/></svg></span>
      </div>
      <p class="sr" aria-live="polite" data-live></p>
    </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>

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.

58 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 “What’s new stories” 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, in the middle, sits Quillo's circle: the app icon (a soft violet and coral square with a white Q) in a dark disc, and around it a violet, coral and amber gradient ring split into four arcs, one per novelty; below, «What's new» and the «4 new» pill. With the mouse over it the ring turns a little and swells; pressed it tightens and turns, and as soon as you let go the stories panel opens out of it: a circle growing to the whole round cornered panel, the coloured light behind spreading and the icon's disc stretching, on a spring, into the interface card of the first screen. At the top four thin segmented bars, the header with the icon, «Quillo», «What's new in 4.2» and the cross to close. The screens: «Focus mode», where the switch snaps on and takes colour, the tasks around blur and dim, the current one gets the violet edge and the «Now» pill and the 25 minute timer starts to run down; «Shared lists», where three avatars come in one after another and a coral cursor labelled «Jo» ticks the list, whose items get struck through; «Smart summary», where an amber light runs over the notes of a meeting, the lines fold away and the summary writes itself in their place with its little star, two lines and two tags; «Widgets», where four tiles land on a spring, the chart bars grow, the goal reaches 72 per cent, the counter rolls to 12 and the streak lights up square by square. Each bar fills in its time and moves to the next screen; a tap on the right goes on, one on the left goes back, and the same card changes size and corners leaning a little like a face turning, while the light behind changes colour and the words leave and come in staggered. Holding, the bars stop, the header and the words step aside, the card sinks back and «Paused» appears. On the last screen the «Got it» button rises; at the end (or with the cross) the panel closes back into the circle, the ring comes back with a bounce and the arcs of the screens you saw turn grey one after another: with all of them seen the icon loses its colour and the label becomes «Seen».

How it works

The panel measured by its container

The section is min(600px, 100vh minus the margin) tall with aspect-ratio 0.58 and the panel is a size container (container-type: size): words, rows and drawings are in cqw, with clamp for the type, so the same story fits the phone box and grows on a computer. Only the card and the opening circle are in pixels, recalculated on resize.

Opening from a circle

The panel lies over the ring, clipped by clip-path: circle(34px at 50% 50%); GSAP takes the radius to half the panel's diagonal with expo.inOut. Meanwhile the card starts as a 68 pixel disc, the size of the icon, and goes to the first screen's top, width, height and borderRadius on a back.out: it looks like the icon turning into interface. Closing walks the way back and the ring returns from scale 0.84 on a spring.

One card for four screens

The card is a single element: at each step GSAP changes its size and corners (SHAPES, in shares of the panel's width) and with two keyframes leans it TILT degrees in rotationY with the sign of the direction, then straightens it with a back.out. The four drawings cross inside it with opacity, x and blur; the light behind changes colour by tweening the CSS variables --ga and --gb.

The bars, the pause and each drawing in its time

The screen's bar is a tween from scaleX 0 to 1 lasting DURATION, which calls the next screen at the end; each drawing has its own paused timeline, redone with invalidate().restart() at every entry. A press longer than HOLD (a gsap.delayedCall, not a setTimeout) pauses bar and drawing together, dims header and words and sinks the card back with scale; letting go everything resumes where it was, a short tap picks on or back from the left third.

The arcs that turn grey

The ring is four SVG arcs worked out with sine and cosine, one per screen, with their grey copy underneath. The coloured arcs have pathLength 1 and stroke-dasharray 1 1: for a screen you saw the strokeDashoffset goes to -1 and the arc retracts uncovering the grey one, one after another. Closing halfway only the unseen ones stay coloured and the pill says how many, and next time it starts from the first unseen.

Values to change

NameFileDefaultWhat it changes
DURATIONscript.js4.5How many seconds each screen stays: its bar fills in this time.
OPENscript.js0.85How many seconds the panel takes to open out of the circle and to close back.
TURNscript.js0.6How many seconds the card takes to change shape from one screen to the next.
TILTscript.js9How many degrees the card leans turning to the next screen.
SPRINGscript.js1How springy the card and the ring are: 0.4 calm, 2 very bouncy.
HOLDscript.js0.22How many seconds a press must last to pause instead of going on.
AUTOscript.jstrueOpens and plays by itself, round after round, until someone touches it.
SLIDESscript.js[['Focus mode', 'One task at a time.', 'Everything else steps back until the timer ends.'], …]The words of the four screens: small title, title and line.

Try them in the Playground

When to use it

To announce what's new in a release inside an app or web app (a task manager, a bank, a notes app, a SaaS): instead of long release notes, four screens you watch in a few seconds, starting from a circle on the home screen or by the profile. Also as a model for any story viewer whose card changes shape.

On phones

The same animations, with the panel taking the box's height and every size from its width; the taps are the stories' own (right on, left back, long press to pause) and the side arrows only show with a mouse.

With reduced motion

Nothing moves: the panel fades in and out, the screens swap with a fade with the card already in its shape and the drawings already at their final state, the seen arcs fade to grey; only the bars keep filling, because they tell the time.

Pitfalls

  • The words swap at the end of a timeline with no position landed after the long light tweens: for a second and a half the new screen had the old screen's words. It has to sit at a precise moment, before the new words come in.
  • With the card pushed back in z for the pause, Chrome drew a ghost rectangle of the shadow around the 3D layer: the pause uses scale, and the turn between screens puts scale back to 1 at its end, so neither is left halfway.
  • The shared list's cursor is in pixels measured on the rows: its positions are functions, read again with invalidate() at each entry, and on resize it is put back on the row it is on.
  • A tap on the buttons (the cross, Got it) must not count as a tap on the story: the panel's pointerdown stops if the target is inside a button.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

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