Skip to content

Applies Disney's 12 animation principles to accordion and dropdown expand/collapse reveals.

CCM score
48 of 100
Quality grade
Quality grade B, 78 of 100
skills.sh installs
627
GitHub stars
753
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers timing values for expand, collapse, chevron rotation, content fade, and stagger, plus click feedback
  • Includes CSS for grid-template-rows and max-height reveals, chevron rotation, and overflow handling during transitions
  • Guides easing choices: ease-out for expanding, ease-in for collapsing, and a cubic-bezier curve for smooth motion
  • Designed for front-end work on FAQs, collapsibles, and dropdowns that need polished, non-janky height animation

Quality grade

  • Safety25% of the grade100

    The skill is a benign CSS animation guide with no attempts to steer graders, hide behavior, or move data off-machine.

  • Tool boundary15% of the grade80

    Declares no allowed-tools in its frontmatter. No scripts: it teaches a procedure. It is a procedure teaching animation principles and CSS techniques, with no bundled code running as a tool.

  • Workflow quality25% of the grade45

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

  • Discoverability10% of the grade83

    Name accordions-dropdowns is lowercase with hyphens. Description of 113 characters. The description states when to use it but gives no explicit guidance on when not to use the skill.

  • 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 accordions-dropdowns -y

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

Files

Accordion & Dropdown Animation Principles

Apply Disney's 12 principles to expand/collapse elements for smooth, informative reveals.

Principles Applied to Accordions

1. Squash & Stretch

Content can slightly compress as it collapses, stretch as it expands. Trigger header can squash on click feedback.

2. Anticipation

Before expanding, header briefly depresses. Chevron starts rotation before content reveals. Builds expectation.

3. Staging

Expanded section should be clearly visible. Consider dimming other accordion items. Active header stays highlighted.

4. Straight Ahead & Pose to Pose

Define clear states: collapsed, expanding, expanded, collapsing. Pose-to-pose for controlled, reversible animations.

5. Follow Through & Overlapping Action

Container expands first, content fades in 50-100ms later. Chevron rotation can overshoot and settle. Creates depth.

6. Ease In & Ease Out

Expand: ease-out (fast start, smooth finish). Collapse: ease-in (slow start, fast finish). cubic-bezier(0.4, 0, 0.2, 1) works well.

7. Arcs

Chevron rotation should ease through the arc. Content items can enter with slight arc paths rather than straight down.

Details

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

Questions

What does the accordions-dropdowns skill do?

It applies Disney's 12 principles of animation to accordions, collapsibles, dropdowns and other expand and collapse elements. It guides smooth reveal transitions, covering timing, easing, chevron rotation and staged content fades. It also includes CSS examples using grid-template-rows and max-height.

How do I install the accordions-dropdowns skill?

Run npx -y skills add dylantarre/animation-principles --skill accordions-dropdowns -y in your project. Once installed, the agent can use the skill when you ask it to animate expand and collapse elements.

Where does accordions-dropdowns fit in the Animation & Motion category?

It is one skill in the Animation & Motion category on Claude Marketplaces, alongside remotion-render and hyperframes-registry. It focuses narrowly on expand and collapse reveals rather than general motion or video rendering.

Does the skill include code I can use directly?

Yes, the SKILL.md includes CSS for an accordion using grid-template-rows with a 300ms ease-out transition, a rotating chevron at 250ms, and an alternative max-height dropdown. It also lists the key properties to use, such as transform, opacity and overflow.

More from dylantarre/animation-principles

All 144

Similar to Accordions Dropdowns

More Animation & Motion