Skip to content
animorio
IT
Back to the library

Finance chart loader

Intro, SVGGSAP, CSS onlyMediumCompressed weight: Demo 8.8 KBGSAP 28 KBFreeDownload the zip

The opening of an invented personal finance app, in a minimal style: on a near-black background a year’s growth line draws itself on a thin grid, then bends into the arrow of the logo, a lime tile grows behind it and the name comes in letter by letter. Then the logo flies into the header and the app opens on the balance.

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>
<!--
  "Finance chart loader" 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 finance app loader whose chart line becomes the logo</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>
    <!-- a growth line draws itself on a thin grid, bends into an upward arrow, gets its tile and becomes the mark of
         Rowan, a personal finance app; the name arrives letter by letter, then the mark flies into the header and the
         first screen of the app opens on the balance -->
    <div class="intro" data-intro>
      <div class="mark-wrap" data-wrap>
        <svg class="chart" data-chart viewBox="0 0 320 180" aria-hidden="true">
          <defs>
            <linearGradient id="area" x1="0" y1="0" x2="0" y2="1">
              <stop offset="0" stop-opacity="0.26"/>
              <stop offset="1" stop-opacity="0"/>
            </linearGradient>
            <linearGradient id="sweep" x1="0" y1="0" x2="1" y2="0">
              <stop offset="0" stop-color="#ffffff" stop-opacity="0"/>
              <stop offset="0.5" stop-color="#ffffff" stop-opacity="0.55"/>
              <stop offset="1" stop-color="#ffffff" stop-opacity="0"/>
            </linearGradient>
            <clipPath id="tile-clip"><rect x="124" y="54" width="72" height="72" rx="20"/></clipPath>
            <linearGradient id="sheen" x1="0" y1="0" x2="0" y2="1">
              <stop offset="0" stop-color="#ffffff" stop-opacity="0.38"/>
              <stop offset="0.5" stop-color="#ffffff" stop-opacity="0"/>
            </linearGradient>
          </defs>
          <g class="grid" data-grid>
            <line x1="20" y1="40" x2="300" y2="40"/>
            <line x1="20" y1="80" x2="300" y2="80"/>
            <line x1="20" y1="120" x2="300" y2="120"/>
            <line class="grid__base" x1="20" y1="160" x2="300" y2="160"/>
          </g>
          <g class="ticks" data-ticks>
            <text x="20" y="174">Jan</text><text x="90" y="174">Apr</text><text x="160" y="174">Jul</text><text x="230" y="174">Oct</text><text x="300" y="174" text-anchor="end">Dec</text>
          </g>
          <path class="area" data-area d=""/>
          <rect class="tile" data-tile x="124" y="54" width="72" height="72" rx="20"/>
          <rect class="tile-sheen" data-sheen x="124" y="54" width="72" height="72" rx="20" fill="url(#sheen)"/>
          <g clip-path="url(#tile-clip)"><rect class="sweep" data-sweep x="60" y="30" width="34" height="120" fill="url(#sweep)"/></g>
          <path class="line" data-line d="" pathLength="1"/>
          <path class="head" data-head d="M174 72H184V82" pathLength="1"/>
          <g class="dots" data-dots></g>
          <circle class="tip-ring" data-tip-ring r="9"/>
          <circle class="tip" data-tip r="3.4"/>
          <g class="tip-label" data-tip-label>
            <rect x="-26" y="-25" width="52" height="16" rx="8"/>
            <text x="0" y="-14" text-anchor="middle" data-tip-text>$0</text>
          </g>
          <g class="gain" data-gain>
            <text x="300" y="20" text-anchor="end">+18.4%</text>
          </g>
        </svg>
      </div>
      <p class="name" data-name>Rowan</p>
      <p class="tagline" data-tagline>Money, moving up.</p>
    </div>

    <!-- the first screen of the app -->
    <section class="app" data-app aria-label="Rowan, home">
      <header class="app__head" data-row>
        <span class="app__slot" data-slot></span>
        <span class="app__brand">Rowan</span>
        <span class="app__avatar">MK</span>
      </header>
      <p class="app__label" data-row>Total balance</p>
      <p class="app__balance" data-row><span data-balance>$12,480.36</span></p>
      <p class="app__change" data-row>
        <svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 11.5 11.5 4M6 4h5.5v5.5"/></svg>
        <b>+$214.20</b> this month
      </p>
      <div class="app__spark" data-row>
        <svg viewBox="0 0 320 90" preserveAspectRatio="none" aria-hidden="true">
          <path class="app__spark-area" data-spark-area d=""/>
          <path class="app__spark-line" data-spark d="" pathLength="1"/>
        </svg>
        <span class="app__spark-dot" data-spark-dot></span>
      </div>
      <ul class="app__list">
        <li data-row><span class="app__ico">C</span><span>Coffee, Tamsin’s<em>Today, 8:12</em></span><b>&minus;$4.80</b></li>
        <li data-row><span class="app__ico app__ico--in">F</span><span>Salary, Fieldwork Ltd<em>Yesterday</em></span><b class="in">+$3,200.00</b></li>
      </ul>
    </section>

    <button class="pillola" type="button" data-replay>
      <span class="pillola__scritta" data-testo="Replay">Replay</span>
    </button>
  </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.

38 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 “Finance chart loader” 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 near-black background, with a barely visible green glow, four thin grid lines draw themselves from the left, with the months under them, from Jan to Dec. A year’s lime line zigzags up from left to right, a veil of green fading out grows under it, and at the top «+18.4%» appears with a small bounce. Then the chart clears away: the veil goes out, the grid lines roll up to the right, and the nine points of the line move onto the corners of an upward arrow while the line thickens. Behind the arrow a lime tile with round corners grows, a hair too big, and settles; the arrow turns dark and its head draws itself. Below it the name, Rowan, comes in letter by letter, from below and blurred, and each letter narrows on the width axis as if landing; then the line «Money, moving up.». After a pause the name leaves upwards, the tile flies and lands in the small square of the header of the first screen, and the app opens row by row: the total balance counting up to $12,480.36, the month’s growth in lime with its drawn arrow, the same year’s line redrawn small and two account movements. At the end Replay appears; after a few seconds it all starts again by itself.

How it works

A line of nine points

The chart is a single SVG path of nine points, rewritten on every frame. It draws with pathLength 1 and stroke-dashoffset from 1 to 0 in DRAW_TIME seconds with power2.inOut; the veil under it is the same path closed on the baseline, with a gradient.

The same points, another shape

The arrow of the logo has the same nine points, some of them doubled on the corners: GSAP takes a number from 0 to 1 in BEND_TIME seconds with expo.inOut and on every step each point is placed between the chart and the arrow. The corners start slightly after the rest, so the line seems to bend rather than slide, and its width goes from 2.2 to 7.

The tile and the head

The tile is a rounded rectangle behind the line that grows from 0.4 to 1 with back.out, with a soft sheen at the top; the line goes from lime to the background colour and the arrowhead is a second path that draws itself afterwards.

The name that lands

The name is split into letters: each one rises from 60 per cent, from blurred to sharp, LETTER_STAGGER seconds after the previous one, while the width of Mona Sans goes down from 150 to 112 with elastic.out.

The flight into the header

The box of the logo flies into the small square of the header with a single transform from 0 0: position and scale are worked out by measuring the square and removing the movements already under way, and are recomputed on every window resize. The rows of the app rise with back.out ROW_STAGGER seconds apart and the balance counts up with expo.out.

Values to change

NameFileDefaultWhat it changes
DRAW_TIMEscript.js1.4The seconds in which the chart line draws itself.
BEND_TIMEscript.js0.9The seconds in which the line bends into the arrow of the logo.
LETTER_STAGGERscript.js0.05The delay between one letter of the name and the next, in seconds.
NAME_HOLDscript.js1.2The seconds the logo with its name stays in the middle.
FLY_TIMEscript.js0.8The seconds in which the logo flies into the app’s header.
ROW_STAGGERscript.js0.07The delay between one row of the first screen and the next, in seconds.
REPLAY_AFTERscript.js3.4The seconds after the end before the loader starts again by itself.

Try them in the Playground

When to use it

For the splash screen or loader of a banking, savings or investing app; to present a new logo born from a chart; for a fintech’s page that wants to show the app’s first moment, from the logo to the balance.

On phones

The same opening: the chart and the name are sized on the width and the height, and the app fits the box, with a smaller balance on short screens.

With reduced motion

No drawing, bending or flight: the app appears already open with a fade, with the logo in place in the header and the line already drawn; Replay brings it back the same way.

Pitfalls

  • Two paths with a different number of points can’t be blended: the arrow has the same nine points as the chart, some of them doubled on the corners.
  • To fly the logo into the small square it has to be measured without the movements already under way: the app rows rise by 12 pixels and the logo box already has a transform, and both are taken out of the sum.
  • A loader that restarts by itself never lets the preview recording stop: the video has a fixed length.

Libraries

GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.

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

Testing

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