
Origami logo
Intro, SVG, Transitions
An app opening on a phone, in the clean style of today’s apps: tap the icon and it grows to fill the screen, becomes the splash screen with the logo settling, then the logo rises into the header and the first screen builds row by row. Pull up from the bottom and the app shrinks back into its icon.
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>
<!--
"Icon splash intro" 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 app that opens from its icon into the splash screen</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>
<!-- tap an app icon on the home screen: the icon grows to fill the screen and becomes the splash,
the logo settles, rises and the first screen of the app builds row by row; swipe up and the app
shrinks back into its icon -->
<div class="phone" data-phone>
<div class="phone__screen" data-screen>
<div class="home" data-home>
<div class="wall" aria-hidden="true"><i class="wall__a"></i><i class="wall__b"></i><i class="wall__c"></i></div>
<div class="grid" data-grid></div>
<div class="dock" data-dock></div>
</div>
<!-- the window of the app: it starts as the icon and grows to the whole screen -->
<div class="sheet" data-sheet aria-hidden="true">
<div class="sheet__splash" data-splash></div>
<div class="sheet__glyph" data-glyph>
<svg viewBox="0 0 48 48"><path class="g-sun" d="M30.5 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"/><path class="g-hill" d="M6 34 17.5 21l7 7.5 5.5-5 12 10.5"/><path class="g-wave" d="M8 39.5c4-2.6 8 2.6 12 0s8 2.6 12 0 8 2.6 9 1.6"/></svg>
</div>
<p class="sheet__word" data-word>Tarnwell</p>
<div class="app" data-app>
<header class="app__head" data-row>
<span class="app__logo-slot" data-logo-slot></span>
<span class="app__title">Journal</span>
<span class="app__avatar">AV</span>
</header>
<p class="app__hello" data-row>Good morning, Ada</p>
<div class="app__card" data-row>
<p class="app__kicker">Today, 6:12 AM</p>
<p class="app__entry">Mist on the lake again. The far shore came back slowly, one tree at a time.</p>
<div class="app__meta"><span class="chip">Lake Arlen</span><span class="chip">4 °C</span><span class="app__words">48 words</span></div>
</div>
<p class="app__label" data-row>This week</p>
<ul class="app__list">
<li data-row><b>Tuesday</b><span>First frost on the jetty</span><em>2 photos</em></li>
<li data-row><b>Monday</b><span>Rowed out before work</span><em>1 photo</em></li>
<li data-row><b>Sunday</b><span>Long walk round the tarn</span><em>3 photos</em></li>
</ul>
<p class="app__label" data-row>Recent photos</p>
<div class="app__photos" data-row aria-hidden="true">
<i class="ph ph--a"></i><i class="ph ph--b"></i><i class="ph ph--c"></i><i class="ph ph--d"></i>
</div>
<nav class="app__tabs" data-row aria-hidden="true">
<span class="is-on"><svg viewBox="0 0 24 24"><path d="M5 5.5h14v13H5ZM8.5 9.5h7M8.5 13h4.5"/></svg>Journal</span>
<span><svg viewBox="0 0 24 24"><path d="M4 7.5 9 5l6 2.5L20 5v11.5L15 19l-6-2.5L4 19Z"/></svg>Places</span>
<span><svg viewBox="0 0 24 24"><path d="M12 6v12M6 12h12"/></svg>New</span>
</nav>
</div>
</div>
<!-- the status bar stays above the app: white on the splash, dark on the app -->
<div class="status" data-status>
<span class="status__time">9:41</span>
<span class="status__icons" aria-hidden="true">
<svg viewBox="0 0 18 12"><path d="M1 11h2.2V8.2H1Zm4.6 0h2.2V6H5.6Zm4.6 0h2.2V3.6h-2.2Zm4.6 0H17V1h-2.2Z"></path></svg>
<svg viewBox="0 0 26 12"><rect class="s" x="0.8" y="0.8" width="21.4" height="10.4" rx="3"></rect><rect x="2.6" y="2.6" width="14.2" height="6.8" rx="1.6"></rect></svg>
</span>
</div>
<!-- the home indicator: drag it up to close the app -->
<div class="indicator" data-indicator aria-label="Swipe up to go home"><i></i></div>
</div>
<div class="phone__notch" aria-hidden="true"></div>
</div>
<svg class="ghost" data-ghost viewBox="0 0 24 24" aria-hidden="true"><path d="M5 3.2 19.2 11l-6.3 1.6-3.3 5.9Z"></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>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.
45 values to change
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 “Icon splash intro” from Animorio and fit it into my siteThe app’s window is an absolute box inside the screen: on opening it starts from the icon’s position, size and corners, and GSAP takes an object with x, y, width, height and radius up to the whole screen, with expo.out in OPEN_TIME seconds, rewriting the box on every frame.
The app’s mark is a separate element inside the window, with its position worked out on the screen: it goes from the icon’s mark to the middle of the splash slightly too big, settles with elastic.out and then rises into the header, where it lands on the small green square that appears with a little bounce.
The green splash and the first screen are two layers of the same window: after SPLASH_HOLD seconds the green fades while the app’s paper appears, and the rows rise by twelve units with back.out, ROW_STAGGER seconds apart.
Pulling up from the handle at the bottom, the window shrinks around a point that follows the finger and the first screen scales with it. Let go past a twelfth of the screen, the window goes back into the icon with expo.out in CLOSE_TIME seconds and the icon reappears on an elastic; below that threshold it springs back to full screen.
The phone is sized on the height and the width of the window and everything comes from a single unit passed to the CSS: on every resize the positions of the icons, the window and the logo are recomputed in the state they are in.
| Name | File | Default | What it changes |
|---|---|---|---|
OPEN_TIME | script.js | 0.72 | The seconds in which the icon grows to fill the screen. |
SPLASH_HOLD | script.js | 0.7 | The seconds the splash stays with the logo in the middle. |
ROW_STAGGER | script.js | 0.07 | The delay between one row of the first screen and the next, in seconds. |
CLOSE_TIME | script.js | 0.6 | The seconds in which the app shrinks back into its icon. |
HOME_ZOOM | script.js | 1.07 | How much the home screen moves closer while the app opens. |
PAUSE | script.js | 1.3 | The seconds of pause of the drawn pointer between one gesture and the next. |
For the page of an app that wants to show its first moment, from the icon to the first screen; to present a new splash screen and logo; or as a transition between a grid of shortcuts and a page, where the tapped tile becomes the page.
The same opening and closing with a finger: the phone is sized on the height of the box, everything scales with it, and the handle at the bottom is pulled up by touch.
No zoom and no flying: tapping the icon the app appears already in place with a fade, the rows arrive together, and on closing the app fades out; the drawn pointer is hidden.
GSAP 3.15.0, Mona Sans (font variabile) 5.3.0.
Compressed with gzip, the three demo files weigh 9.7 KB; the libraries: GSAP 28 KB.
Tested on 28 October 2026
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.
Support Animorio
Animorio stays free thanks to the people who support it. If you like, buy us a coffee: it helps us make the next animations.
You asked for
We made it for you: it’s in the library, with the preview, the Playground and the code to copy.
An animation you can’t find, or a site to take apart in the journal: tell us which. We pick the next ones from here.
With your account’s email and password.
or with your email
You’re signed in as .
With your account, you can download the zip of every animation and every pack, for free.