Skip to content

Applies Disney's 12 animation principles to cards and containers for dimensional, interactive interfaces.

CCM score
54 of 100
Quality grade
Quality grade B, 82 of 100
skills.sh installs
640
GitHub stars
753
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers hover lift, selection, expand-to-detail, and drag-reorder states with defined keyframes for each
  • Includes timing guidance per interaction: 150ms selection, 200-250ms hover, 300-400ms expand, and 50-75ms stagger
  • Sets motion limits such as 2-3% squash on drag, 8-12px selected lift, and never linear easing
  • Designed for UI work where cards need physical-feeling depth through transform, shadow, and z-index layering

Quality grade

  • Safety25% of the grade100

    Purely a CSS and motion design guide with no attempt to steer the grader, hide behavior, or move data off-device.

  • Tool boundary15% of the grade80

    Declares no allowed-tools in its frontmatter. No scripts: it teaches a procedure. It is a procedure teaching principles and CSS patterns for the agent, not a tool running bundled code.

  • Workflow quality25% of the grade60

    Craft grade 60 of 100 for specificity, expertise, examples, economy and scope.

  • Discoverability10% of the grade83

    Name cards-containers is lowercase with hyphens. Description of 96 characters. The description says when to use it for cards and containers but gives no guidance on when not to use it.

  • Provenance and upkeep15% of the grade75

    Last push 11 months ago. MIT license. Owner account 13 years old.

  • Portability10% of the grade100

    Relative paths only.

Rubric 2026-12.5 · graded December 4, 2026How we grade

Install

$ npx -y skills add dylantarre/animation-principles --skill cards-containers -y

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

Files

Card & Container Animation Principles

Apply Disney's 12 principles to cards and containers for engaging, dimensional interfaces.

Principles Applied to Cards

1. Squash & Stretch

Cards can subtly compress on drag-start and stretch when released. Keep it minimal: 2-3% scale change maximum.

2. Anticipation

Before expanding a card to detail view, briefly scale down (0.98) for 50ms, then expand. Prepares user for the transformation.

3. Staging

The card being interacted with should lift above others via z-index and shadow. Dim or blur background cards to focus attention.

4. Straight Ahead & Pose to Pose

Define clear states: resting, hovered, selected, expanded. Pose-to-pose transitions between these defined keyframes.

5. Follow Through & Overlapping Action

Card content (text, images, icons) should lag slightly behind card movement. Stagger by 20-40ms for natural feel.

6. Ease In & Ease Out

Card lifts use ease-out, card settles use ease-in-out. Never linear. cubic-bezier(0.25, 0.1, 0.25, 1) for smooth lifts.

Details

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

Questions

What does the cards-containers skill do?

The cards-containers skill applies Disney's 12 animation principles to cards, panels, tiles and other container elements. It guides lift, depth, hover and selection effects, plus reordering and expand-to-detail transitions. Timing ranges and CSS examples are included.

How do I install the cards-containers skill?

Run npx -y skills add dylantarre/animation-principles --skill cards-containers -y in your project. Once installed, the agent can animate cards and containers using these principles.

Where does cards-containers stand in the Animation & Motion category?

It is listed in the Animation & Motion category on Claude Marketplaces, alongside remotion-render, hyperframes-registry and hyperframes-animation. It focuses on card and container interfaces, covering depth, shadows and interactive states rather than general video or motion output.

Which timing values does the cards-containers skill recommend?

It suggests hover lifts of 200 to 250ms, selection at 150ms, expand-to-detail at 300 to 400ms, reorder at 250 to 350ms and 50 to 75ms stagger between cards. It also recommends ease-out for lifts and ease-in-out for settling.

More from dylantarre/animation-principles

All 144

Similar to Cards Containers

More Animation & Motion