{"id":50754717,"url":"https://github.com/diffusionstudio/lottie","last_synced_at":"2026-06-24T07:01:09.196Z","repository":{"id":363780635,"uuid":"1259415257","full_name":"diffusionstudio/lottie","owner":"diffusionstudio","description":"Generate production-ready Lottie animations with Claude Code or Codex","archived":false,"fork":false,"pushed_at":"2026-06-23T19:25:03.000Z","size":4874,"stargazers_count":3679,"open_issues_count":0,"forks_count":202,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-06-23T21:17:07.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://diffusion.studio","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diffusionstudio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-04T13:39:32.000Z","updated_at":"2026-06-23T20:45:08.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/diffusionstudio/lottie","commit_stats":null,"previous_names":["diffusionstudio/lottie"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diffusionstudio/lottie","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Flottie","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Flottie/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Flottie/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Flottie/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diffusionstudio","download_url":"https://codeload.github.com/diffusionstudio/lottie/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffusionstudio%2Flottie/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34720924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-11T04:00:27.564Z","updated_at":"2026-06-24T07:01:09.190Z","avatar_url":"https://github.com/diffusionstudio.png","language":"TypeScript","funding_links":[],"categories":["🧠 Agent Skills","Others","Animation","Diagram and Visual Skills","TypeScript"],"sub_categories":["Usage"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/header.gif\" alt=\"Text to Lottie\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n[![](https://img.shields.io/discord/1115673443141156924?style=flat\u0026logo=discord\u0026logoColor=white\u0026color=5865F2)](https://discord.com/invite/zPQJrNGuFB)\n[![](https://img.shields.io/badge/Follow%20for-Updates-black?logo=x\u0026logoColor=white)](https://x.com/diffusionhq)\n[![](https://img.shields.io/badge/Combinator-F24-orange?logo=ycombinator\u0026logoColor=white)](https://www.ycombinator.com/companies/diffusion-studio)\n\n**Text-to-lottie** is an open-source framework for generating production ready Lottie animations with claude code/codex or any other coding agent supporting skills.\n\n## Created with Text-to-Lottie\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003cimg src=\"assets/demo-1.gif\" width=\"350\" /\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cimg src=\"assets/demo-2.gif\" width=\"350\" /\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Quick Start \nInstall the skill:\n```bash\nnpx skills add diffusionstudio/lottie\n```\nThen ask your coding agent to generate a Lottie animation using `text-to-lottie`.\n\nExample prompt:\n\u003e Create a Lottie animation from the SVG path in https://github.com/JaceThings/SF-Hello/blob/main/SVG/hello-en.svg. Reveal the path with an animation that follows the natural path direction. Apply a premium apple themed gradient to the path. Use ease-in-out timing, a transparent background, and preserve the original SVG geometry.\n\nThe agent sets up the workspace and the included player, where each animation lives as a scene inside a project. Scenes load automatically from `public/projects/\u003cproject\u003e/\u003cscene\u003e/lottie.json` and live-update in the player as the agent edits them — so you can inspect, scrub, and refine the generated Lottie in real time.\n\n## Prompt guide\n\n### 1. Ground the model\nProvide SVGs, real-world data, or screenshots whenever possible. Results are significantly better when the animation is based on concrete assets.\n\n### 2. Use motion design terminology\nDescribe timing and movement using motion design language like ease-in, ease-out, and ease-in-out.\n\n### 3. Think like a camera operator\nProfessional motion graphics often rely on camera movement. Include camera pushes, pans, zooms, and rig-like motion in your prompt. The agent can simulate these through group transforms.\n\n### 4. Request the controls you need\nBy default, outputs usually only expose a background color control. If you want to customize other properties, explicitly ask the agent to create controls for them.\n\n### 5. Specify FPS and duration\nIf your animation requires a specific frame rate or length, include the desired FPS and total frame count in the prompt.\n\n\n## Using the Generated Animation\n\nGenerated animations can be used directly as Lottie JSON files or imported into After Effects for further refinement.\n\n### Web / vanilla HTML\n```html\n\u003cscript src=\"https://unpkg.com/lottie-web/build/player/lottie.min.js\"\u003e\u003c/script\u003e\n\n\u003cdiv id=\"anim\"\u003e\u003c/div\u003e\n\n\u003cscript\u003e\n  lottie.loadAnimation({\n    container: document.getElementById(\"anim\"),\n    renderer: \"svg\",\n    loop: true,\n    autoplay: true,\n    path: \"/animations/my-animation.json\"\n  });\n\u003c/script\u003e\n```\n\n### React Native\n```typescript\nimport LottieView from \"lottie-react-native\";\n\nexport default function Loader() {\n  return (\n    \u003cLottieView\n      source={require(\"./animation.json\")}\n      autoPlay\n      loop\n      style={{ width: 200, height: 200 }}\n    /\u003e\n  );\n}\n```\n\nAlternatively, [React Native Skia](https://shopify.github.io/react-native-skia/docs/skottie/) can also render Lottie animations via its Skottie module, including on the web. It lets you customize animation properties, assets, and typographies at runtime, and since `Skottie` is a regular Skia drawing, it can be composed into a larger Skia scene alongside shaders, effects, and masks.\n\n```typescript\nimport { Skia, Canvas, Skottie, useClock } from \"@shopify/react-native-skia\";\nimport { useDerivedValue } from \"react-native-reanimated\";\n\nconst animation = Skia.Skottie.Make(JSON.stringify(require(\"./animation.json\")));\n\nexport default function Loader() {\n  const clock = useClock();\n  const frame = useDerivedValue(\n    () =\u003e ((clock.value / 1000) % animation.duration()) * animation.fps()\n  );\n  return (\n    \u003cCanvas style={{ width: 200, height: 200 }}\u003e\n      \u003cSkottie animation={animation} frame={frame} /\u003e\n    \u003c/Canvas\u003e\n  );\n}\n```\n\n### iOS Swift\n```swift\nimport Lottie\n\nlet animationView = LottieAnimationView(name: \"animation\")\nanimationView.frame = view.bounds\nanimationView.contentMode = .scaleAspectFit\nanimationView.loopMode = .loop\nview.addSubview(animationView)\nanimationView.play()\n```\n\n### Android Kotlin\n```kotlin\nval view = findViewById\u003cLottieAnimationView\u003e(R.id.animationView)\nview.setAnimation(R.raw.animation)\nview.loop(true)\nview.playAnimation()\n```\n\n### Flutter\n```yaml\ndependencies:\n  lottie: ^latest\n```\n\n```dart\nimport 'package:lottie/lottie.dart';\n\nLottie.asset('assets/animation.json')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffusionstudio%2Flottie","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiffusionstudio%2Flottie","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffusionstudio%2Flottie/lists"}