emilkowal-animations

Animation best practices across easing, timing, properties, transforms, interactions, and accessibility for web interfaces. 43 rules organized by priority across 7 categories, from critical easing and timing decisions to medium-priority accessibility and polish Covers easing curves (ease-out default, custom cubic-bezier, spring animations), timing windows (300ms max for UI, 500ms for drawers), and property selection (transform and opacity only) Includes interaction patterns for gesture-based components: momentum-based dismissal, damping at boundaries, velocity-aware snap points, and pointer capture for drag operations Provides specific values and techniques: scale(0.97) for button press, iOS-style cubic-bezier curves, asymmetric timing for press/release, and reduced-motion accessibility fallbacks

INSTALLATION
npx skills add https://github.com/pproenca/dot-skills --skill emilkowal-animations
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

Emil Kowalski Animation Best Practices

Comprehensive animation guide for web interfaces based on Emil Kowalski's teachings, open-source libraries (Sonner, Vaul), and his animations.dev course. Contains 43 rules across 7 categories, prioritized by impact.

When to Apply

Reference these guidelines when:

  • Adding animations to React components
  • Choosing easing curves or timing values
  • Implementing gesture-based interactions (swipe, drag)
  • Building toast notifications or drawer components
  • Optimizing animation performance
  • Ensuring animation accessibility

Rule Categories by Priority

Priority

Category

Impact

Prefix

1

Easing Selection

CRITICAL

ease-

2

Timing & Duration

CRITICAL

timing-

3

Property Selection

HIGH

props-

4

Transform Techniques

HIGH

transform-

5

Interaction Patterns

MEDIUM-HIGH

interact-

6

Strategic Animation

MEDIUM

strategy-

7

Accessibility & Polish

MEDIUM

polish-

Quick Reference

1. Easing Selection (CRITICAL)

2. Timing & Duration (CRITICAL)

3. Property Selection (HIGH)

4. Transform Techniques (HIGH)

5. Interaction Patterns (MEDIUM-HIGH)

6. Strategic Animation (MEDIUM)

7. Accessibility & Polish (MEDIUM)

Key Values Reference

Value

Usage

cubic-bezier(0.32, 0.72, 0, 1)

iOS-style drawer/sheet animation

scale(0.97)

Button press feedback

scale(0.95)

Minimum enter scale (never scale(0))

200ms ease-out

Standard UI transition

300ms

Maximum duration for UI animations

500ms

Drawer animation duration

0.11 px/ms

Velocity threshold for momentum dismiss

100px

Scroll-reveal viewport threshold

14px

Toast stack offset

Reference Files

File

Description

references/_sections.md

Category definitions and ordering

assets/templates/_template.md

Template for new rules

metadata.json

Version and reference information

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card