# Lottie Pagination

> Lottie Pagination is an Agent Skill for design published in the nexu-io/motion-anything repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

An animated pagination dots indicator — Lottie JSON. A Lottie (JSON) animation — portable motion that plays identically on web and app via lottie-web. Honors prefers-reduced-motion (don't autoplay). Reserve Lottie for motion that earns its ~160KB runtime.

- Skill name: `lottie-pagination`
- Category: [Design](https://www.openparable.com/skill/design/1)
- Source: https://github.com/nexu-io/motion-anything/blob/HEAD/recipes/lottie/lottie-pagination/SKILL.md
- Repository: nexu-io/motion-anything (466 GitHub stars when collected)

## SKILL.md

# Lottie · Pagination

An animated pagination dots indicator — Lottie JSON. Lottie JSON from [spemer/lottie-animations-json](https://github.com/spemer/lottie-animations-json)
(MIT). Part of [motion-anything](https://github.com/nexu-io/motion-anything); obeys `MOTION-SPEC.md`.

## When to use it
- Portable JSON motion identical on web & app; icon/control micro-animations (incl. After Effects / Jitter exports).

## When NOT to use it (restraint)
- When a pure-CSS effect would do — don't ship the Lottie runtime for a simple fade.

## How to apply
1. Include `lottie.min.js` (runtime) and `animation.json`.
2. `lottie.loadAnimation({ container, renderer:'svg', loop:true, autoplay:false, path:'animation.json' })`; start on intent / guard reduced-motion.

## Accessibility & performance
- `prefers-reduced-motion`: don't autoplay. SVG renderer; motion-as-JSON (portable, AI-readable).

---

Source: https://www.openparable.com/skill/design/lottie-pagination (OpenParable). Cite the canonical URL above.
