New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Animation patterns and easing guidance for Next.js and React, covering CSS and Framer Motion work.

skills.sh installs
4K
GitHub stars
175
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers hover effects, button press, mount fades, modal exits, shared-layout tab indicators, and staggered lists with working code
  • Includes an easing and duration cheat sheet plus eight runnable examples/ files for card hover, toasts, text reveal, and layout morphs
  • Enforces exits at roughly 75% of enter duration, transform and opacity only animation, and prefers-reduced-motion handling
  • Designed for React developers who need motion that is smooth, performant, and accessible across CSS and Framer Motion

Install

$ npx -y skills add delphi-ai/animate-skill --skill animate -y

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

Files

Next.js Animations

Overview

This skill provides comprehensive guidance for implementing smooth, performant, and accessible animations in Next.js and React applications. It covers CSS animations, Framer Motion, easing principles, and accessibility considerations.

Quick Reference

Easing Cheat Sheet

Animation TypeEasingDuration
Element enteringease-out200-300ms
Element moving on screenease-in-out200-300ms
Element exitingease-in150-200ms
Hover effectsease150ms
Opacity onlylinearvaries

CSS Custom Properties (Recommended)

:root {
  --ease-out-quint: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out-cubic: cubic-bezier(.645, .045, .355, 1);
  --ease-out-cubic: cubic-bezier(.33, 1, .68, 1);
}

Common Animation Patterns

1. Hover Lift Effect

.card {
  transition: transform 200ms var(--ease-out-quint),
              box-shadow 200ms var(--ease-out-quint);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

2. Button Press

Details

Repository
github.com/delphi-ai/animate-skill
Categories
Animation & Motion, Frontend & UI Code
First seen
Jun 3, 2026

Similar to Animate

More Animation & Motion