motion-design
/motion-design
Dodaje powściągliwy i dostępny ruch w sieci: wzorce Framer Motion i odsłanianie samym CSS z opóźnieniem, z dbałością o rozmiar paczki i prefers-reduced-motion.
- Autor
- nguyenthienthanh ↗
- Repozytorium
- aura-frog ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 23.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dodaje powściągliwy i dostępny ruch w sieci: wzorce Framer Motion i odsłanianie samym CSS z opóźnieniem, z dbałością o rozmiar paczki i prefers-reduced-motion.
Oryginalny opis (EN)
Restrained, accessible web motion — Framer Motion declarative patterns and CSS-only staggered reveals for high-impact moments, always bundle-aware and reduced-motion-safe. Use when adding animation/transitions to a UI (entrance reveals, list stagger, page/route transitions, micro-interactions) or when motion feels janky, heavy, or gratuitous.
Jak działa
- prefers-reduced-motion is MANDATORY
- Two tools, matched to impact
- Bundle discipline
- Audit before shipping
Podgląd SKILL.md
---
name: motion-design
description: "Restrained, accessible web motion — Framer Motion declarative patterns and CSS-only staggered reveals for high-impact moments, always bundle-aware and reduced-motion-safe. Use when adding animation/transitions to a UI (entrance reveals, list stagger, page/route transitions, micro-interactions) or when motion feels janky, heavy, or gratuitous."
when_to_use: "add animation / motion / transitions, entrance reveal, staggered list, page transition, micro-interaction, reduce motion, framer-motion bundle cost"
user-invocable: false
---
> **AI-consumed reference.** Taste + technique for motion; the perf ceiling is owned by `rules/agent/frontend-excellence.md` — cross-reference its budget, don't restate it.
# Motion Design
Motion should *clarify*, not decorate. Small, fast, purposeful. **House style: subtle — no bouncy/springy overshoot as decoration, no infinite loops competing for attention.**
## `prefers-reduced-motion` is MANDATORY
Every motion example MUST honor it — non-negotiable. Wrap transitions so reduced-motion collapses them to an instant (opacity-only or none):
```css
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation: none !important; transition: none !important; } }
```
In Framer Motion, gate variants on `useReducedMotion()` and drop transforms.
## Two tools, matched to impact
- **CSS-only for reveals/stagger** (cheapest, no JS): stagger via `animation-delay: calc(var(--i) * 60ms)` on a keyframed fade-up. Use for hero/list entrance where you don't need interaction.
- **Framer Motion for stateful/interactive** motion: declarative `variants` + `initial/animate`, shared layout, gesture. Prefer it only where CSS can't express the state.
## Bundle discipline
Framer Motion is heavy — use **`LazyMotion` + `m.` components** (load `domAnimation` features on demand) instead of the full `motion.` import. This keeps it within the `frontend-excellence` perf budget.
## Audit before shipping
- **AnimatePresence gaps:** exit animations silently do nothing unless the leaving element is wrapped in `<AnimatePresence>`. Check every conditional/route unmount.
- Reduced-motion path actually tested (not just declared).
**See also:** `rules/agent/frontend-excellence.md`, and the `frontend-aesthetics` skill.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · nguyenthienthanh/aura-frog | 100 | MIT |
| quangphung218/contour-design | 100 | Apache-2.0 |
| nexu-io/open-design | 100 | Apache-2.0 |
| cdeweyx/conor-os | 100 | MIT |
| nextwork-projects/ai-video-editor-cooked | 100 | MIT |
| jairotorregrosa/jaiskills | 100 | MIT |
| 1AngelMicka/ultimate-motion-design | 100 | MIT |
| sapraudnynew/explain-ladder | 100 | MIT |
| devpilotX/ai-skill-ai | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki e46ee84dd2e7 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 3 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100animation-motion-design
Wdraża animacje komponentów i przejścia stron w Motion oraz View Transitions API, z obsługą ograniczonego ruchu i gestów. - 100animation-motion-design
Podaje wzorce animacji i projektowania ruchu z biblioteką Motion i View Transitions API, w tym przejścia stron i prefers-reduced-motion. - 100set-up-motion
Dodaje animacje i przejścia do frontendu: natywne View Transitions w nawigacji oraz bibliotekę Motion, z poszanowaniem prefers-reduced-motion. - 100motion-system
Dobiera przejścia, animacje wejścia i przewijania oraz reakcje na interakcję, z poszanowaniem ustawień redukcji ruchu. - 100transitions
Buduje system animacji CSS: tokeny czasu trwania i easingu, wzorce wejścia, wyjścia i akcentu, reguły stagger oraz fallbacki dla prefers-reduced-motion, jako bibliotekę snippetów. - 91motion-framer
Wdraża animacje Motion lub Framer Motion w React: mikrointerakcje, gesty, przejścia układu i animacje oparte na przewijaniu.