Skip to content

Disney's 12 animation principles applied to carousel and slider navigation, with concrete timing and CSS.

CCM score
48 of 100
skills.sh installs
708
GitHub stars
709
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers how squash, anticipation, staging, follow through, easing, and secondary action apply to slide movement
  • Includes timing ranges for slide transitions, swipe momentum, pagination dots, autoplay, and adjacent-slide scaling
  • Provides a CSS example using transform, opacity, scroll-snap-type, and scroll-behavior for smooth snapping
  • Designed for front-end work on image galleries, hero carousels, and product sliders that need native-feeling touch response

Install

$ npx -y skills add dylantarre/animation-principles --skill carousels-sliders -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Carousel & Slider Animation Principles

Apply Disney's 12 principles to carousels and sliders for smooth, intuitive navigation.

Principles Applied to Carousels

1. Squash & Stretch

Slides can slightly compress in scroll direction during fast swipes. Expands perception of speed and momentum.

2. Anticipation

Before slide change, current slide can shift 5-10px in direction of navigation. Button can depress before triggering.

3. Staging

Current/active slide should be prominently displayed: larger, centered, more opaque. Adjacent slides can be dimmed or scaled down.

4. Straight Ahead & Pose to Pose

Use pose-to-pose: define exact positions for each slide. Snap points should be clear and predictable.

5. Follow Through & Overlapping Action

After snap, slide can overshoot slightly and settle back. Content within slide (text, buttons) lags behind container movement.

6. Ease In & Ease Out

Swipe release: ease-out (momentum slowdown). Button navigation: ease-in-out. cubic-bezier(0.25, 0.1, 0.25, 1) for smooth slides.

Details

Repository
github.com/dylantarre/animation-principles
Categories
Animation & Motion, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the carousels-sliders skill do for Claude?

It applies Disney's 12 principles of animation to carousels, sliders, image galleries and horizontally scrolling content. It covers slide transitions, swipe momentum, pagination dots, autoplay timing and adjacent slide scaling. The skill also includes CSS examples using transform, opacity and scroll-snap.

How do I install the carousels-sliders skill?

Run npx -y skills add dylantarre/animation-principles --skill carousels-sliders -y in your project. This adds the carousels-sliders skill from the animation-principles repository. Once installed, Claude can use it when you ask for carousel or slider animation work.

Where does carousels-sliders fit among other Animation and Motion skills?

It is listed in the Animation and Motion category on Claude Marketplaces, alongside remotion-render, hyperframes-registry and hyperframes-animation. Its focus is narrower than those, centered on carousel and slider navigation. It sets itself apart by giving timing values and CSS for smooth horizontal navigation.

Who is carousels-sliders for?

It suits front-end developers building image galleries, product carousels or hero sliders who want smoother swipe and button navigation. It is written for people who write CSS or JavaScript for web interfaces. The guidance helps keep snap points, timing and aspect ratios consistent across slides.

More from dylantarre/animation-principles

All 144

Similar to Carousels Sliders

More Animation & Motion