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

Implementation:AI QL Tuui Robot Lottie Animation

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

Overview

Concrete tool for rendering the animated robot shown on the splash and startup UI, provided as a Lottie JSON asset consumed by the vue3-lottie component in the tuui Electron application.

Description

The robot.json file is a Lottie animation asset (v5.7.0, 30fps, 81 frames) containing shape layers and keyframes for a robot animation. It is bundled under src/public/lotties/ so Vite serves it as a static resource and is played back by the <Vue3Lottie> component (registered globally in src/renderer/main.ts) on the splash/welcome screen.

Usage

Reference this file when displaying the robot animation on the splash or welcome screen, or when swapping/updating the splash animation asset. Pass its URL to a <Vue3Lottie> component's animationLink prop.

Code Reference

Source Location

Signature

{
  "v": "5.7.0",
  "fr": 30,
  "ip": 0,
  "op": 81,
  "w": 400,
  "h": 400,
  "nm": "robot",
  "layers": [ ... ]
}

Import

<!-- Loaded as a static asset URL by Vue3Lottie; no JS import -->
<Vue3Lottie :animation-link="robotLottieUrl" :loop="true" />

I/O Contract

Inputs

Name Type Required Description
Vue3Lottie component Vue component Yes Renderer component that plays the Lottie JSON
animationLink string (URL) Yes URL to the robot.json asset under src/public/lotties/

Outputs

Name Type Description
rendered frames Canvas/SVG frames 81-frame robot animation displayed on the splash screen

Usage Examples

Play the Robot on Splash Screen

<template>
  <!-- Vue3Lottie is registered globally in src/renderer/main.ts -->
  <Vue3Lottie
    :animation-link="robotLottieUrl"
    :loop="true"
    :auto-play="true"
    width="200"
    height="200"
  />
</template>

<script setup lang="ts">
// The asset is served from src/public/lotties/robot.json
const robotLottieUrl = '/lotties/robot.json'
</script>

Related Pages

Implements Principle

Requires Environment

Page Connections

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