animate

Implements CSS, WAAPI, and Motion animations using defined easing curves, durations, and spring configs.

2|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/sathishssj3/NexVR-Engine --skill animate-sathishssj3
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: animate
Source: https://github.com/sathishssj3/NexVR-Engine/tree/main/.agents/skills/animate
Command: npx skills add https://github.com/sathishssj3/NexVR-Engine --skill animate-sathishssj3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Deciding whether an element should animate, which tool to use, and which easing, duration, and properties to apply is error-prone, and wrong choices produce sluggish or jarring UI motion. This Skill turns a motion request into a reviewed implementation by walking a fixed decision sequence before writing any code. ## Core Features & Use Cases - Gated build sequence: Decides first whether the element should animate at all based on interaction frequency, then names the motion's purpose before choosing tools. - Concrete ingredient tables: Provides exact cubic-bezier curves, duration ranges per component type, and spring configurations so no values are approximated. - Ready-made recipes: Ships implementations for buttons, dropdowns, tooltips, modals, drawers, toasts, accordions, staggers, hold-to-confirm, tab indicators, scroll reveals, and drag-to-dismiss in RECIPES.md. - Use Case: When asked to animate a dropdown menu, the Skill selects a CSS transition on transform and opacity, applies the strong ease-out curve at 150-250ms with transform-origin at the trigger, and ships reduced-motion and hover gating alongside it. ## Quick Start Ask the assistant to animate a specific component, such as adding an entrance transition to a modal or a drag-to-dismiss gesture to a drawer.

Frequently Asked Questions about animate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I animate a dropdown or popover in CSS?▼

Use a CSS transition on opacity and transform with a strong ease-out curve like cubic-bezier(0.23, 1, 0.32, 1) at 150-250ms. Set transform-origin to the trigger element and start from scale(0.95) with opacity 0 rather than scale(0).

CSS transition vs Motion library for animations?▼

Use CSS transitions for hover, press, and state toggles, and CSS animations for predetermined motion that must stay smooth under load. Reach for Motion only when you need springs, layout animations, exit animations, or gesture-driven values.

When should a UI element not be animated?▼

Elements triggered 100 or more times per day, such as keyboard shortcuts or command palette toggles, should never animate. Frequently used hover and navigation elements get only near-imperceptible motion, while delight is reserved for rare first-time moments.

Why does my animation drop frames under load?▼

Frame drops happen when animating layout properties like width, height, margin, or top instead of transform and opacity, or when using Motion's x, y, and scale shorthand props. Use the full transform string and GPU-composited properties instead.

How do I handle reduced motion in CSS animations?▼

Wrap a gentler variant in a prefers-reduced-motion media query that keeps opacity and color transitions but drops transform-based movement. Reduced motion means fewer and gentler animations, not zero, and it should ship with the animation rather than as a follow-up.