Skip to main content
skill CX Codex

lists-grids — Claude Code skill: what it does, how to install

Guides AI coding agents to animate lists, tables, and grids using Disney's 12 motion principles. Useful for filter states and reordering items.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dylantarre/animation-principles --skill lists-grids -a claude-code
Open on GitHub

What lists-grids does

This skill injects UI motion principles into your AI agent whenever you build collections, tables, or card grids. It translates Disney's 12 animation principles into clean CSS patterns. Reordering items move along natural curved arcs rather than mechanical straight vectors.

The guidelines provide explicit duration ranges. Stagger delay stays between 30 and 75ms per item, while total cascade duration is capped at 800ms. Enter states take 200 to 300ms, and exit transitions complete in 150 to 200ms. Code samples rely on GPU-friendly transform and opacity properties to prevent costly layout recalculations.

What it helps with

  • stagger entrance animations across grid cards
  • set precise easing and durations for filtering lists
  • animate drag-and-drop table rows along curved arcs
  • handle item exit transitions with scale and opacity

Example prompts for the agent

  • Animate the card grid entrance using lists-grids stagger timing
  • Add CSS transitions for filtering and reordering list items
  • Style the drag-and-drop state of table rows with anticipation and arcs

How to install lists-grids

1Skills CLI (Vercel)

npx skills add dylantarre/animation-principles --skill lists-grids -a claude-code

2Manually: put the files in place

~/.claude/skills/lists-grids/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/lists-grids/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about lists-grids

How do I install lists-grids in Claude Code?

Run npx skills add dylantarre/animation-principles --skill lists-grids -a claude-code in your terminal. The skill file is placed in ~/.claude/skills/lists-grids/SKILL.md.

What does the lists-grids skill do?

It gives your AI coding assistant guidelines for animating collections, tables, and grids. The agent produces CSS motion for filtering, drag-and-drop, and staggered entry states.

What timing values does lists-grids suggest?

It recommends a stagger delay of 30 to 75ms per item, with maximum cascade length capped at 500 to 800ms. Item entrance transitions run in 200 to 300ms.

Source text

SKILL.md · MIT
---
name: lists-grids
description: Use when animating lists, grids, tables, or collections of items to create smooth ordering, filtering, and loading states
---

# List & Grid Animation Principles

Apply Disney's 12 principles to lists and grids for smooth, organized motion.

## Principles Applied to Lists & Grids

### 1. Squash & Stretch
List items compress slightly when grabbed for reorder. Grid items can stretch when expanding to fill space on filter.

### 2. Anticipation
Before list reorders, items briefly compress. Before filter removes items, they can shrink slightly. Prepares for change.

### 3. Staging
Item being dragged lifts above others (z-index + shadow). Filtered results highlight while others fade. Guide eye to relevant items.

### 4. Straight Ahead & Pose to Pose
Define states: entering, resting, reordering, exiting. Use pose-to-pose for predictable, controllable list animations.

### 5. Follow Through & Overlapping Action
Stagger item entrance: first item leads, others follow (30-50ms delay). Content within items lags behind item container.

### 6. Ease In & Ease Out
Item enter: `ease-out`. Item exit: `ease-in`. Reorder: `ease-in-out`. Stagger easing should feel like a wave, not mechanical.

### 7. Arcs
Reordering items should follow curved paths, not straight lines. Adds personality and organic feel to grid shuffles.

### 8. Secondary Action
While item moves (primary), placeholder appears (secondary), other items shift (tertiary). Coordinate the ensemble.

### 9. Timing
- Stagger delay: 30-75ms per item
- Item enter: 200-300ms
- Item exit: 150-200ms
- Reorder: 250-350ms
- Filter shuffle: 300-400ms
- Max total stagger: 500-800ms

### 10. Exaggeration
Dramatic filter transitions can scale items to 0 before removing. New items can overshoot position slightly. Make sorting visible.

### 11. Solid Drawing
Maintain consistent spacing during animations. Grid gaps should stay uniform. Item proportions should remain stable during transforms.

### 12. Appeal
Smooth list animations feel premium. Jarring reorders feel broken. Staggered entrances guide attention naturally. Users notice quality.

## CSS Implementation

```css
.list-item {
  animation: itemEnter 250ms ease-out backwards;
}

.list-item:nth-child(1) { animation-delay: 0ms; }
.list-item:nth-child(2) { animation-delay: 50ms; }
.list-item:nth-child(3) { animation-delay: 100ms; }
/* continue pattern */

@keyframes itemEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid-item {
  transition: transform 300ms ease-in-out,
              opacity 200ms ease-out;
}
```

## Key Properties
- `transform`: translate, scale
- `opacity`: enter/exit
- `animation-delay`: stagger
- `grid-template`: layout shifts
- `order`: reordering

© dylantarre · MIT · dylantarre/animation-principles

Similar skills

All skills for Frontend and UI →

From the same set142

timing-calibration A skill that diagnoses animations that feel too fast, too slow or inconsistent, then hands back concrete durations and easing. CX Codex +1 499installs urgency-action Provides motion design guidelines for time-sensitive UI elements and calls to action. Helps animate timers and checkout buttons. CX Codex +1 499installs Animation Principles - Teaching Others Walks you through teaching the 12 animation principles to students, mentees or teammates: what to show first and where they usually get stuck. CX Codex +1 498installs user-feedback-clarity A skill that helps your coding agent work out why users miss interface feedback and what to change. CX Codex +1 498installs Animation Principles - Master This skill explains the reasoning behind 12 animation principles through perception, physics, emotion, and storytelling. Use it for teaching and mentorship. CX Codex +1 497installs power-confidence A skill that spells out how to animate strength and authority: heavy movement, sudden stops, almost no bounce. Useful for hero sections and premium product showcases. CX Codex +1 497installs continuous-loops Guides AI agents in creating looping CSS animations with Disney motion principles. Useful for spinners, pulse indicators, typing dots, and ambient effects. CX Codex +1 497installs universal-patterns Sets baseline durations, easing curves and the 12 animation principles for any motion in an interface. Useful when your agent writes CSS transitions and guesses the timing wrong. CX Codex +1 496installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor