BeClaude

lottie-animator

New
3Community RegistryGeneralby Obed Vargas · MIT

Generate professional Lottie animations from SVGs. Replace After Effects workflow with advanced bezier curves, professional easing presets, and automatic export.

Community PluginView Source

Overview

<div align="center">

<!-- Animated Banner --> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/banner.svg"> <source media="(prefers-color-scheme: light)" srcset="assets/banner.svg"> <img alt="Lottie Animator - AI-Powered Motion Design" src="assets/banner.svg" width="100%"> </picture>

<br><br>

!Lottie Animator !Claude Code !License

<!-- Dynamic Badges --> ![GitHub stars](https://github.com/obeskay/lottie-animator-skill/stargazers) ![GitHub forks](https://github.com/obeskay/lottie-animator-skill/network/members) ![GitHub watchers](https://github.com/obeskay/lottie-animator-skill/watchers)

![GitHub last commit](https://github.com/obeskay/lottie-animator-skill/commits) ![GitHub issues](https://github.com/obeskay/lottie-animator-skill/issues) ![GitHub pull requests](https://github.com/obeskay/lottie-animator-skill/pulls)

Generate professional Lottie animations from SVGs using AI

Replace After Effects with intelligent motion design

Quick StartInstallationFeaturesExamples

</div>


🎬 See It In Action

<div align="center">

From Static SVG → Animated Lottie

code
┌──────────────────┐          ┌──────────────────┐          ┌──────────────────┐
│                  │          │                  │          │    ✨    ✨      │
│    📄 SVG        │    →     │   🤖 Claude +    │    →     │   🚀             │
│    (static)      │          │   Lottie Skill   │          │  🔥 (animated!)  │
│                  │          │                  │          │  💨              │
└──────────────────┘          └──────────────────┘          └──────────────────┘
     rocket.svg                  "Animate this!"              rocket-animated.json

Example Animations

Rocket LaunchChimp Walk ProRunning Cat
Bounce → Flames → StarsFrame-by-frame walk cycleProfessional 82-layer animation
`rocket-animated.json``chimp-walk-pro.json`Reverse-engineered for learning

👆 Preview: Drag any .json file to LottieFiles Preview

</div>


Live Demo

<div align="center">

!Rocket!Chimp!Check
Bounce + Scale + ParticlesFrame-by-Frame AnimationTrim Path + Draw On
Preview →Preview →Preview →

Try the animations yourself:

  1. Download any .json from `examples/`
  2. Drag to LottieFiles Preview
  3. Watch the magic!

Or run locally:

bash
# Open the live preview page
open assets/preview-embedded.html

</div>


Why Lottie Animator?

<table> <tr> <td width="50%">

❌ Traditional Workflow

  • After Effects ($22.99/mo)
  • Bodymovin plugin setup
  • Hours of manual keyframing
  • Motion design expertise required

</td> <td width="50%">

✅ With Lottie Animator

  • Zero cost - Open source
  • Seconds not hours
  • Natural language instructions
  • No expertise needed

</td> </tr> </table>


🚀 Quick Start: SVG to Lottie in 60 Seconds

Step 1: Grab any SVG icon

From Lucide, Phosphor, or your own design:

<details> <summary><b>📄 rocket.svg</b> (click to expand)</summary>

xml
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2">
  <path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z"/>
  <path d="m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z"/>
  <path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"/>
  <path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/>
</svg>

</details>

Step 2: Tell Claude what animation you want

code
You: Create a fun rocket launch animation - bounce before launch,
     add flames, smoke particles, and twinkling stars!

Step 3: Get professional Lottie JSON

code
┌────────────────────────────────────────────────────────────────┐
│  ✅ Motion Philosophy: Playful + Energetic                     │
│  ✅ Animation: 60fps, 90 frames (1.5s loop)                    │
│  ✅ Layers generated:                                          │
│     • Rocket body with bounce entrance (bezier overshoot)      │
│     • Gradient flame with scale flicker                        │
│     • 2x smoke particles (fade + expand + drift)               │
│     • 3x stars (pop-in + rotate + twinkle)                     │
│  ✅ Output: rocket-animated.json (4.2KB)                       │
└────────────────────────────────────────────────────────────────┘

Animation Timeline

code
Frame 0-15:   🚀 Rocket bounces in (scale 0→115→100 with overshoot)
Frame 15-25:  🔥 Flames ignite, anticipation wobble
Frame 25-90:  ⬆️  LAUNCH! Rocket flies up with easing
Frame 25-75:  💨 Smoke particles expand and fade
Frame 50-90:  ✨ Stars pop in, rotate, and twinkle

Try it yourself: `examples/rocket-animated.json` → Drag to LottieFiles Preview


Installation

From Marketplace (Recommended)

bash
# Add the marketplace
/plugin marketplace add obeskay/lottie-animator-skill

# Install the plugin
/plugin install lottie-animator

Local Installation

bash
# Clone the repository
git clone https://github.com/obeskay/lottie-animator-skill.git

# Use with Claude Code
claude --plugin-dir ./lottie-animator-skill

Usage

The skill activates automatically when you request:

code
"Animate this SVG logo"
"Create a Lottie animation"
"Generate motion graphics for my icon"
"Make a bounce/wiggle/pulse effect"
"Create an entrance/loading/loop animation"

Features

🎨 Professional Bezier Curves

PresetCurveUse Case
ease-out-cubic(0.33, 0, 0.67, 1)Smooth entrances
ease-in-out-quart(0.76, 0, 0.24, 1)Professional transitions
bounce(0.34, 1.56, 0.64, 1)Playful interactions
elastic(0.68, -0.6, 0.32, 1.6)Dynamic feedback
spring(0.5, 1.5, 0.5, 1)Natural motion

🎬 Animation Types

TypeFPSDurationBest For
Corporate301.5-2sB2B, Finance
Organic602-3sAudio, Creative
Bold600.8-1.5sStartups, Marketing
Cinematic603-5sLuxury, Entertainment

✨ Supported Effects

CategoryEffects
EntranceFade, Scale, Slide, Reveal, Bounce
LoopPulse, Wiggle, Float, Rotate, Breathe
AttentionBounce, Shake, Flash, Jiggle
AdvancedMorph, Stagger, Draw-on, Path follow
ProParenting, Track Mattes, Masks, Frame-by-Frame

🎯 Professional Techniques (Reverse-Engineered)

Learned from analyzing professional animations like Running Cat:

TechniqueUse CaseExample
Frame-by-FrameWalk/run cycles6 poses × 6 frames = 36 frame loop
Layer ParentingCharacter rigsShadow controls 13+ body parts
Stroke + FillOutline styleDark stroke + colored fill
ip/op SwitchingPose animationLayers appear/disappear per pose
code
Frame-by-Frame Walk Cycle:
┌─────┬─────┬─────┬─────┬─────┬─────┐
│Pose1│Pose2│Pose3│Pose4│Pose5│Pose6│ ← Each pose is a separate layer
├─────┼─────┼─────┼─────┼─────┼─────┤
│ 0-6 │6-12 │12-18│18-24│24-30│30-36│ ← ip/op frame ranges
└─────┴─────┴─────┴─────┴─────┴─────┘

📦 Example Animations

1. Rocket Animated

code
Layers (7):
├── Stars ×3 (pop-in + rotate + twinkle)
├── Smoke ×2 (fade + expand + drift)
├── Flame (gradient + scale flicker)
└── Rocket Body (bounce entrance → launch)

Techniques:
• Scale overshoot (bezier 0.34, 1.56) for bounce
• Staggered star timing (frame 50, 55, 60)
• Gradient fill for realistic flame
• Ease-out curve for launch deceleration

2. Chimp Walk Pro

code
Layers (5):
├── Shadow (parent for all poses, scale pulse)
├── Pose 1 - Contact Left  (ip: 0,  op: 9)
├── Pose 2 - Passing Left  (ip: 9,  op: 18)
├── Pose 3 - Contact Right (ip: 18, op: 27)
└── Pose 4 - Passing Right (ip: 27, op: 36)

Techniques:
• Frame-by-frame (4 poses × 9 frames = 36 total)
• Shadow as parent layer (moves all children)
• Stroke + fill for outline style
• 60fps, 0.6s seamless loop

3. Bounce Entrance Template

json
{
  "s": {
    "a": 1,
    "k": [
      {"t": 0, "s": [0, 0], "o": {"x": [0.34], "y": [1.56]}, "i": {"x": [0.64], "y": [1]}},
      {"t": 20, "s": [110, 110]},
      {"t": 35, "s": [100, 100]}
    ]
  }
}

Copy this keyframe structure for any bounce-in effect!


🔧 Use in Your App

<details> <summary><b>React / Next.js</b></summary>

bash
npm install lottie-react
jsx
import Lottie from 'lottie-react';
import rocketAnimation from './rocket-launch.json';

export default function LaunchButton() {
  return (
    <Lottie
      animationData={rocketAnimation}
      loop={false}
      style={{ width: 200, height: 200 }}
    />
  );
}

</details>

<details> <summary><b>Vue 3</b></summary>

bash
npm install vue3-lottie
vue
<template>
  <Vue3Lottie :animationData="rocket" :loop="true" />
</template>

<script setup>
import { Vue3Lottie } from 'vue3-lottie'
import rocket from './rocket-launch.json'
</script>

</details>

<details> <summary><b>Vanilla JS / HTML</b></summary>

html
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest"></script>

<lottie-player
  src="rocket-launch.json"
  background="transparent"
  speed="1"
  loop
  autoplay>
</lottie-player>

</details>

<details> <summary><b>React Native</b></summary>

bash
npm install lottie-react-native
jsx
import LottieView from 'lottie-react-native';

export default function Animation() {
  return (
    <LottieView
      source={require('./rocket-launch.json')}
      autoPlay
      loop
      style={{ width: 200, height: 200 }}
    />
  );
}

</details>


📚 Documentation

ReferenceDescription
Bezier Easing20+ professional easing presets
Lottie StructureComplete JSON specification
Examples8 ready-to-use animations
SVG to LottieConversion guide

🔗 Resources


🤝 Contributing

Contributions welcome! Please feel free to submit a Pull Request.

bash
# Fork and clone
git clone https://github.com/YOUR_USERNAME/lottie-animator-skill.git

# Create feature branch
git checkout -b feature/amazing-feature

# Commit and push
git commit -m 'Add amazing feature'
git push origin feature/amazing-feature

# Open PR

📄 License

MIT License - see LICENSE for details.

👤 Author

Obed Vargas

![Website](https://obeskay.com) ![Email](mailto:[email protected]) ![GitHub](https://github.com/obeskay)


<div align="center">

⭐ Star this repo if you find it useful!

Made with AI for designers and developers

No After Effects required

<br>

🚀 Try it now:

code
"Animate my logo with a playful bounce"

<br>

![Star History Chart](https://star-history.com/#obeskay/lottie-animator-skill&Date)

</div>

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/lottie-animator.md https://raw.githubusercontent.com/obeskay/lottie-animator-skill/main/SKILL.md
3
Invoke in Claude Code
/lottie-animator
View source on GitHub
lottieanimationsvgmotion-graphicsbezierafter-effectslogo-animationui-animation

Frequently Asked Questions

What is lottie-animator?

Generate professional Lottie animations from SVGs. Replace After Effects workflow with advanced bezier curves, professional easing presets, and automatic export.

How to install lottie-animator?

To install lottie-animator, create the .claude/skills directory in your project, then run the curl command to download the skill file. Once installed, invoke it in Claude Code with /lottie-animator.

What is lottie-animator best for?

lottie-animator is a community categorized under General. It is designed for: lottie, animation, svg, motion-graphics, bezier, after-effects, logo-animation, ui-animation. Created by Obed Vargas.