Skip to content

Applies Disney's 12 animation principles to buttons and CTAs for tactile, responsive press and hover feedback.

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

Own this skill? Claim it

What it does

  • Covers hover, press, focus, loading, success, and error states, with timing ranges for each (hover 150-200ms, press 50-100ms)
  • Includes CSS transition and keyframe examples using transform, box-shadow, background-color, opacity, and filter
  • Specifies cubic-bezier(0.4, 0, 0.2, 1) easing and bans linear timing for interactive states
  • Designed for front-end developers adding motion to primary and secondary action elements

Install

$ npx -y skills add dylantarre/animation-principles --skill buttons-ctas -y

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

Files

Button & CTA Animation Principles

Apply Disney's 12 principles to create buttons that feel alive and responsive.

Principles Applied to Buttons

1. Squash & Stretch

Scale buttons slightly on press: transform: scale(0.95) on :active, return to scale(1) on release. Creates tactile feedback.

2. Anticipation

Subtle hover lift before click: transform: translateY(-2px) prepares users for the action.

3. Staging

Primary CTAs should be visually prominent. Use size, color contrast, and whitespace. Animate primary buttons more boldly than secondary.

4. Straight Ahead & Pose to Pose

Use pose-to-pose for button states: define clear keyframes for default, hover, active, and disabled states.

5. Follow Through & Overlapping Action

After click, let shadows or glows settle slightly after the button returns. Icon inside can lag 20-50ms behind button movement.

6. Ease In & Ease Out

Never use linear timing. Use ease-out for hover-in (fast start), ease-in for hover-out (gentle exit). cubic-bezier(0.4, 0, 0.2, 1) works well.

Details

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

Questions

What does the buttons-ctas skill do?

It applies Disney's 12 animation principles to buttons, CTAs and clickable action elements, giving them responsive hover, press and focus feedback. It includes timing guidance such as 150-200ms for hover and 50-100ms for press, plus CSS examples.

How do I install the buttons-ctas skill?

Run npx -y skills add dylantarre/animation-principles --skill buttons-ctas -y in your project. Once installed, the agent can animate buttons with press scale, hover lift and eased transitions.

Where does buttons-ctas stand in the Animation & Motion category?

It is listed in the Animation & Motion category on Claude Marketplaces, alongside remotion-render and the hyperframes skills. It is a focused option for interactive button and CTA motion rather than video rendering or general animation.

More from dylantarre/animation-principles

All 144

Similar to Buttons Ctas

More Animation & Motion