Skip to content
animorio
IT
Back to the library

Savings app bento

Hover, SVGGSAP, CSS onlyMediumCompressed weight: Demo 10 KBGSAP 28 KBFreeDownload the zip

The features section of a made-up personal finance app, Orrin: five white tiles in a bento grid on a warm light ground with grain, each with a small interface drawing in SVG. On hover the tile rises three pixels on a spring, its rim catches a green light that follows the pointer and the drawing wakes up: the savings line grows to the end of the year with the total rolling, the round-ups switch snaps on with a squash and the spare change lands, the question types itself and the answer rises, the card freezes with a sheen and the lock closes, the budget ring fills segment by segment. Leaving, everything goes back faster.

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>
<!--
  "Savings app bento" 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>Orrin: everything your money needs</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 features section of a made-up personal finance app, Orrin: five tiles in a bento grid, each with a small
         interface drawing in SVG that wakes up under the pointer (the savings line grows, the round-ups switch snaps,
         the question types itself, the card freezes, the budget ring fills). Left alone, the tiles wake one by one -->
    <div class="grain" aria-hidden="true"></div>

    <div class="wrap">
      <header class="head">
        <span class="brand">
          <svg class="brand__mark" viewBox="0 0 24 24" aria-hidden="true">
            <circle cx="12" cy="12" r="8.5"/>
            <path d="M12 3.5v17M5.2 7.2c3.6 2.4 10 2.4 13.6 0"/>
          </svg>
          <span class="brand__name">Orrin</span>
        </span>
        <h1 class="title">Everything your money needs, <span>quietly</span> handled.</h1>
      </header>

      <section class="grid" aria-label="Orrin features" data-grid>

        <article class="tile tile--grow" data-tile="grow" tabindex="0">
          <div class="tile__body" data-body>
            <div class="tile__art">
              <div class="kpi">
                <span class="kpi__label">Savings</span>
                <span class="kpi__value" data-money>$8,240.00</span>
                <span class="kpi__chip" data-chip>
                  <svg viewBox="0 0 12 12" aria-hidden="true"><path d="M3 8l3-3.2L9 8"/></svg>
                  <span data-pct>+0.0%</span>
                </span>
              </div>
              <svg class="art art--grow" viewBox="0 0 600 120" preserveAspectRatio="xMidYMax meet" aria-hidden="true">
                <defs>
                  <linearGradient id="g-area" x1="0" y1="0" x2="0" y2="1">
                    <stop offset="0" stop-color="var(--accent)" stop-opacity="0.22"/>
                    <stop offset="1" stop-color="var(--accent)" stop-opacity="0"/>
                  </linearGradient>
                  <clipPath id="g-clip"><rect data-clip x="0" y="0" width="0" height="120"/></clipPath>
                </defs>
                <g class="rules">
                  <path d="M0 34.5h600M0 66.5h600M0 98.5h600"/>
                </g>
                <path class="ghost" d="M0 100 C75 98 131 94 188 92 S300 88 375 84 S506 80 600 76"/>
                <g clip-path="url(#g-clip)">
                  <path class="area" d="M0 100 C75 96 112 88 169 84 S262 74 319 66 S412 60 469 44 S544 28 585 22 L585 120 L0 120 Z" fill="url(#g-area)"/>
                </g>
                <path class="line" data-line d="M0 100 C75 96 112 88 169 84 S262 74 319 66 S412 60 469 44 S544 28 585 22"/>
                <line class="drop" data-drop x1="0" y1="0" x2="0" y2="120"/>
                <circle class="dot" data-dot r="3.6" cx="0" cy="100"/>
              </svg>
              <div class="months" aria-hidden="true"><span>Jan</span><span>Apr</span><span>Jul</span><span>Oct</span></div>
            </div>
            <div class="tile__text">
              <h2>Savings that grow</h2>
              <p>A little set aside every payday, without thinking.</p>
            </div>
          </div>
        </article>

        <article class="tile tile--round" data-tile="round" tabindex="0">
          <div class="tile__body" data-body>
            <div class="tile__art">
              <svg class="art art--round" viewBox="0 0 160 110" preserveAspectRatio="xMidYMid meet" aria-hidden="true">
                <g transform="translate(52 6)">
                  <rect class="track" data-track x="0" y="0" width="56" height="30" rx="15"/>
                  <rect class="track__on" data-trackon x="0" y="0" width="56" height="30" rx="15"/>
                  <g data-knob>
                    <ellipse class="knob__shadow" cx="15" cy="17.5" rx="10.5" ry="10.5"/>
                    <rect class="knob" data-knobrect x="4" y="4" width="22" height="22" rx="11"/>
                  </g>
                </g>
                <g class="rows">
                  <g class="row" data-row>
                    <rect class="row__ic" x="18" y="48" width="14" height="14" rx="4"/>
                    <rect class="row__bar" x="40" y="50" width="46" height="4" rx="2"/>
                    <rect class="row__bar row__bar--soft" x="40" y="57" width="28" height="3" rx="1.5"/>
                    <text class="row__amt" data-amt x="142" y="59" text-anchor="end">+0.40</text>
                  </g>
                  <g class="row" data-row>
                    <rect class="row__ic" x="18" y="70" width="14" height="14" rx="4"/>
                    <rect class="row__bar" x="40" y="72" width="38" height="4" rx="2"/>
                    <rect class="row__bar row__bar--soft" x="40" y="79" width="22" height="3" rx="1.5"/>
                    <text class="row__amt" data-amt x="142" y="81" text-anchor="end">+0.15</text>
                  </g>
                  <g class="row" data-row>
                    <rect class="row__ic" x="18" y="92" width="14" height="14" rx="4"/>
                    <rect class="row__bar" x="40" y="94" width="52" height="4" rx="2"/>
                    <rect class="row__bar row__bar--soft" x="40" y="101" width="30" height="3" rx="1.5"/>
                    <text class="row__amt" data-amt x="142" y="103" text-anchor="end">+0.72</text>
                  </g>
                </g>
              </svg>
            </div>
            <div class="tile__text">
              <h2>Round-ups <span class="sum" data-sum>$0.00</span></h2>
              <p>Spare change from every coffee, saved.</p>
            </div>
          </div>
        </article>

        <article class="tile tile--ask" data-tile="ask" tabindex="0">
          <div class="tile__body" data-body>
            <div class="tile__art">
              <svg class="art art--ask" viewBox="0 0 160 110" preserveAspectRatio="xMidYMid meet" aria-hidden="true">
                <rect class="field" data-field x="8" y="8" width="144" height="32" rx="10"/>
                <path class="spark" data-spark d="M22 17.5l1.6 4 4 1.6-4 1.6-1.6 4-1.6-4-4-1.6 4-1.6z"/>
                <text class="ph" data-ph x="34" y="28.5">Ask anything</text>
                <text class="typed" data-typed x="34" y="28.5"></text>
                <rect class="caret" data-caret x="34" y="17" width="1.4" height="14" rx="0.7"/>
                <g class="skel" data-skel>
                  <rect class="skel__box" x="8.5" y="50.5" width="143" height="51" rx="10"/>
                  <rect class="skel__bar" x="20" y="64" width="44" height="7" rx="3.5"/>
                  <rect class="skel__bar skel__bar--soft" x="20" y="80" width="70" height="5" rx="2.5"/>
                </g>
                <g class="answer" data-answer>
                  <rect class="bubble" x="8" y="50" width="144" height="52" rx="10"/>
                  <text class="ans__big" x="20" y="72">$46.20</text>
                  <text class="ans__small" x="20" y="88">on coffee in November</text>
                  <g class="mini" data-mini>
                    <rect x="112" y="76" width="6" height="16" rx="2"/>
                    <rect x="121" y="70" width="6" height="22" rx="2"/>
                    <rect x="130" y="80" width="6" height="12" rx="2"/>
                    <rect class="mini__on" x="139" y="64" width="6" height="28" rx="2"/>
                  </g>
                </g>
              </svg>
            </div>
            <div class="tile__text">
              <h2>Ask Orrin</h2>
              <p>Plain questions, straight answers.</p>
            </div>
          </div>
        </article>

        <article class="tile tile--freeze" data-tile="freeze" tabindex="0">
          <div class="tile__body" data-body>
            <div class="tile__art">
              <svg class="art art--freeze" viewBox="0 0 160 110" preserveAspectRatio="xMidYMid meet" aria-hidden="true">
                <defs>
                  <linearGradient id="f-card" x1="0" y1="0" x2="1" y2="1">
                    <stop offset="0" stop-color="#2a2d33"/>
                    <stop offset="1" stop-color="#121418"/>
                  </linearGradient>
                  <linearGradient id="f-sheen" x1="0" y1="0" x2="1" y2="0">
                    <stop offset="0" stop-color="#fff" stop-opacity="0"/>
                    <stop offset="0.5" stop-color="#fff" stop-opacity="0.55"/>
                    <stop offset="1" stop-color="#fff" stop-opacity="0"/>
                  </linearGradient>
                  <clipPath id="f-clip"><rect x="22" y="14" width="116" height="74" rx="10"/></clipPath>
                </defs>
                <ellipse class="card__shadow" data-cshadow cx="80" cy="96" rx="50" ry="5"/>
                <g data-card>
                  <rect x="22" y="14" width="116" height="74" rx="10" fill="url(#f-card)"/>
                  <rect class="card__edge" x="22.5" y="14.5" width="115" height="73" rx="9.5"/>
                  <rect class="chip" x="34" y="34" width="18" height="14" rx="3"/>
                  <path class="chip__lines" d="M34 41h18M43 34v14"/>
                  <text class="card__num" x="34" y="74">4821</text>
                  <text class="card__name" x="34" y="27">orrin</text>
                  <g clip-path="url(#f-clip)">
                    <rect class="frost" data-frost x="22" y="14" width="116" height="74"/>
                    <rect data-sheen x="-40" y="0" width="34" height="110" fill="url(#f-sheen)" transform="skewX(-18)"/>
                  </g>
                  <g data-lock transform="translate(116 66)">
                    <circle class="lock__bg" r="11"/>
                    <path class="lock__shackle" data-shackle d="M-3.6 -1.5V-4.2a3.6 3.6 0 0 1 7.2 0V-1.5"/>
                    <rect class="lock__body" x="-5" y="-1.5" width="10" height="7.5" rx="1.8"/>
                  </g>
                </g>
              </svg>
            </div>
            <div class="tile__text">
              <h2>Freeze in a tap <span class="state" data-state><span>Active</span><span>Frozen</span></span></h2>
              <p>Lost it? Lock it, then find it.</p>
            </div>
          </div>
        </article>

        <article class="tile tile--budget" data-tile="budget" tabindex="0">
          <div class="tile__body" data-body>
            <div class="tile__art">
              <svg class="art art--budget" viewBox="0 0 160 110" preserveAspectRatio="xMidYMid meet" aria-hidden="true">
                <g transform="translate(56 55) rotate(-90)">
                  <circle class="ring__track" r="36"/>
                  <circle class="seg seg--a" data-seg r="36"/>
                  <circle class="seg seg--b" data-seg r="36"/>
                  <circle class="seg seg--c" data-seg r="36"/>
                </g>
                <text class="ring__num" data-used x="56" y="58" text-anchor="middle">0%</text>
                <text class="ring__cap" x="56" y="71" text-anchor="middle">of budget</text>
                <g class="legend">
                  <rect class="lg lg--a" x="108" y="34" width="10" height="3" rx="1.5"/>
                  <text x="108" y="49">Rent</text>
                  <rect class="lg lg--b" x="108" y="58" width="10" height="3" rx="1.5"/>
                  <text x="108" y="73">Food</text>
                  <rect class="lg lg--c" x="108" y="82" width="10" height="3" rx="1.5"/>
                  <text x="108" y="97">Fun</text>
                </g>
              </svg>
            </div>
            <div class="tile__text">
              <h2>Budgets that bend</h2>
              <p>See the month before it happens.</p>
            </div>
          </div>
        </article>

      </section>
    </div>
  </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.

56 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 “Savings app bento” 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 warm light grey ground with fine grain and a white light at the top left, the Orrin mark (a circle with a green meridian) at the top, and at the right a single line: Everything your money needs, quietly handled, with quietly in green and wider. Below, five white tiles with one-pixel rims and soft layered shadows: the large Savings that grow with the total, the percentage in a green pill and a chart with last year’s dashed line; Round-ups with a switch and three transactions; Ask Orrin with a field and a spark; Freeze in a tap with a dark card, its gold chip and an open lock; Budgets that bend with a three-segment ring and the Rent, Food, Fun legend. Under the mouse the tile rises three pixels with a small bounce, its shadow lengthens and takes a green tint, the rim lights up where the pointer is and a very pale green glow follows it. And the drawing wakes up: the line draws itself to October with the point riding it and a dashed thread dropping down, the area beneath fills, the total rolls from 8,240 to 9,615.40 dollars and the percentage climbs to +16.7%; the switch stretches, slides with a bounce and turns green, the three transactions get their +0.40, +0.15, +0.72 and the spare change total rolls next to the title; the spark turns, the question How much on coffee? types itself with a green caret and the answer rises, 46.20 dollars, with four small bars; the card lifts, a sheen crosses it, it frosts over, the lock closes with a little knock and Active rolls away for Frozen; the ring fills segment by segment to 68%. Leaving, everything goes back 1.7 times faster. Pressed, the tile sinks and springs back. Left alone, the tiles wake one after the other.

How it works

One paused timeline per drawing

Each tile builds a paused GSAP timeline going from the drawing at rest to the drawing awake. On pointer enter it plays at speed 1, on leave it reverses with timeScale 1.7: the way back is always the same gesture backwards, quicker, and leaving halfway it goes back from there without a jump.

The growing line and the point riding it

One number from 0.34 to 1 drives everything: the line’s stroke-dashoffset (its getTotalLength), the width of the clipPath uncovering the gradient area, the point placed with getPointAtLength and the dashed thread under it, the total and the percentage. One value and five things that never come apart.

The switch that squashes

The knob is a rect with rx half its height: first it stretches to a width of 29, then the group slides 26 with back.out(1.5) and the rect goes back to 22 with back.out(2.5). The squash and the arrival one pixel past the end make it feel like a real switch.

Text typed in SVG

A letter counter goes from 0 to the length of the question at 20 letters a second; at each step the text gets that part of the sentence and the caret goes to getComputedTextLength plus a pixel and a half. The caret stops blinking while it types and starts again when it is done.

The segmented ring

Three equal circles with stroke-dasharray length and circumference and a negative stroke-dashoffset placing them one after the other; each segment is 11 shorter to leave the gap between the rounded ends. One number from 0 to 1 stretches them all in proportion and writes the percentage in the middle.

The light that follows the pointer

Two pseudo-elements on the tile body use the --mx and --my variables: one is a very pale green radial glow, the other the same gradient cut into a one-pixel rim with mask-composite. GSAP takes --lit from 0 to 1; when it plays by itself the light slides diagonally across the tile.

Values to change

NameFileDefaultWhat it changes
STEPscript.js2.6Seconds each tile stays awake when the grid plays by itself.
LIFTscript.js3Pixels a tile rises when it wakes.
DRAW_TIMEscript.js1.5Seconds the savings line takes to draw to the end of the year.
SAVINGS_FROMscript.js8240Dollars saved before the line grows.
SAVINGS_TOscript.js9615.4Dollars saved at the end of the line.
TYPE_SPEEDscript.js20Letters per second typed in the Ask tile.
QUESTIONscript.js'How much on coffee?'The question typed in the Ask tile.
BUDGET_USEDscript.js68Percent of the monthly budget the ring fills to.
BACK_SPEEDscript.js1.7How much faster a drawing goes back to rest when the pointer leaves.
LOOPscript.jstrueLeft alone, the tiles wake one after the other again and again.

Try them in the Playground

When to use it

For the features section of the landing page of an app, a subscription service or a digital product (finance, health, productivity): when each feature is understood better by seeing it work for a second than by reading about it, and the grid should stay calm until someone looks at it.

On phones

The same animation with adapted sizes: two columns, the savings tile on top as wide as the grid, the descriptions hidden when a tile is short, the title line under the mark. Tapping a tile wakes it and the others go back to rest; a second tap puts it back to rest. After five seconds without a touch it starts playing by itself again.

With reduced motion

No movement: the tile does not rise or press, the drawing goes straight to its awake state with a short fade, the caret does not blink; the rim light turns on and off without sliding.

Pitfalls

  • The tile rising and the tile arriving are two elements: the arrival moves the article, the spring and the press move the body inside. On the same element the lift tween would cut the arrival halfway.
  • A line with stroke-dasharray must be measured once the font and the viewBox are there: getTotalLength works in viewBox units, so it does not change on resize and needs no recalculation.
  • The caret must be placed with getComputedTextLength of the text already typed, not a width per letter: in a proportional font an i and an m are three times apart.
  • With rounded ends a ring segment sticks out half its thickness on each side: without taking the thickness off its length the three segments touch and the gap disappears.

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