Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:AI QL Tuui Splash Animation Asset

From Leeroopedia
Knowledge Sources
Domains UI_Asset, Animation
Last Updated 2026-10-24 00:00 GMT

Overview

A UI asset pattern that uses a Lottie JSON animation — a vector-based, resolution-independent format — rendered by a Vue component to provide immediate visual feedback during application startup.

Description

The Splash Animation Asset pattern describes the use of a Lottie animation JSON bundled as a static resource and played back by a Lottie-rendering Vue component on the splash or welcome screen. It addresses the problem of perceived startup latency: by showing a lightweight, frame-based vector animation instantly, the user receives visual feedback while the heavier main window, IPC handlers, and MCP clients finish initializing. Because Lottie is vector-based, the animation scales cleanly across display densities. In the broader desktop UI ecosystem, this is a standard technique for polished app onboarding.

Usage

Use this principle when a desktop or web application needs a smooth, resolution-independent animation on a splash or welcome screen to mask startup latency, and the animation should be bundled as a static JSON asset rather than a video or GIF.

Theoretical Basis

The animation is a Lottie JSON: a sequence of shape layers and keyframes describing how vector paths animate over time.

  1. Bundle — Ship the Lottie JSON as a static asset under src/public/
  2. Register — Globally register a Lottie-rendering component (e.g. Vue3Lottie) in the renderer entry
  3. Play — Pass the asset URL to the component's animationLink prop with loop and auto-play enabled
  4. Replace — On the splash screen, swap to the main window once the main window is ready
Lottie JSON (static asset) → Vue3Lottie component → vector frames rendered at 30fps on splash screen

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment