neuro-shopify-animation

Implements performance-optimized CSS, Intersection Observer, and GSAP animations for Shopify Liquid themes.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/webdevarif/claude-skills --skill neuro-shopify-animation-webdevarif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: neuro-shopify-animation
Source: https://github.com/webdevarif/claude-skills/tree/main/neuro-shopify-animation
Command: npx skills add https://github.com/webdevarif/claude-skills --skill neuro-shopify-animation-webdevarif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adding animations to Shopify themes often hurts page speed and Core Web Vitals because developers load heavy libraries globally, animate layout-triggering properties, or ignore reduced-motion accessibility. This Skill provides ready-to-use, performance-budgeted animation patterns for Liquid sections that never block rendering or cause layout shift. ## Core Features & Use Cases - CSS-Only Animations: Fade-ins, stagger effects, hover micro-interactions, marquees, skeleton loaders, and clip-path reveals with zero JavaScript cost. - Scroll-Driven Animations: Native CSS animation-timeline patterns with @supports fallbacks, plus a reusable Intersection Observer snippet (~500 bytes) for scroll-triggered reveals. - Lazy-Loaded GSAP: Per-section GSAP and ScrollTrigger loading via Intersection Observer or dynamic imports, with patterns for hero reveals, parallax, counters, sticky headers, and accordions. - Use Case: A merchant wants product cards to stagger in on scroll and a hero heading to animate word-by-word. The Skill delivers a Liquid section with data-animate attributes, the observer snippet, and a lazily loaded GSAP timeline that starts only after LCP completes. ## Quick Start Add a scroll-triggered fade-up stagger animation to my featured-collection.liquid section without hurting page speed.

Frequently Asked Questions about neuro-shopify-animation

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

FAQPage Schema
How do I add scroll-triggered animations to a Shopify theme?

Add data-animate attributes to elements in your Liquid sections, include the animation-observer snippet, and define CSS hidden and visible states. The Intersection Observer adds an is-visible class when elements enter the viewport, costing about 500 bytes of JavaScript.

How to lazy load GSAP in Shopify without hurting page speed?

Load GSAP per-section using an Intersection Observer that injects deferred script tags only when the section approaches the viewport. Host gsap.min.js in the theme assets folder and reference it with the asset_url filter, never in theme.liquid head.

Should I use CSS animations or GSAP for my Shopify store?

Prefer CSS-only animations first since they cost zero JavaScript, then CSS scroll-driven animations, then Intersection Observer with class toggles. Reserve GSAP for complex timelines, scrubbed parallax, or sequenced hero reveals that CSS cannot express.

Does scroll animation affect Core Web Vitals like CLS and LCP?

It can if done wrong. Hero animations must start after LCP completes, animated elements need explicit dimensions to prevent CLS, and only transform and opacity should be animated. Starting states must keep elements occupying their layout space.

How do I handle prefers-reduced-motion for accessibility?

Every animation needs a reduced-motion fallback that shows the final state instantly or with a single subtle fade. Include a global media query that sets animation and transition durations near zero, and skip GSAP loading entirely when reduced motion is detected.

Why is my Shopify animation causing layout thrashing?

Layout thrashing happens when animating properties like width, height, top, left, or margin, which trigger reflow. Animate only transform and opacity, use translate instead of positional properties, and avoid transition: all in stylesheets.