Open-source · v1.0.0 · WordPress + GSAP

Purposeful motion for modern WordPress frontends.

Reusable animation components designed around progressive enhancement, accessibility, cleanup, and performance—not animation for animation's sake.

GSAP ScrollTrigger WordPress Reduced motion
production-motion.js
01import { initGsapComponents }
02from './gsap-components';
03
04const cleanup =
05  initGsapComponents(document);
06
07// accessible by default
7components
1initializer
0required UI deps
Scroll to explore
01 Progressive enhancement

Useful HTML remains usable before animation runs.

02 Motion-aware

Components respect prefers-reduced-motion.

03 Cleanup built in

Every initializer returns teardown behavior.

04 WordPress-friendly

Bundle only where the page actually needs it.

Component system

Small primitives. Stronger frontends.

Each example below is powered by the same attributes documented in the repository.

02

Stagger grid

Sequence related items without manually wiring timelines per card.

data-gsap-stagger
03

Magnetic CTA

Pointer-responsive movement that remains optional and non-essential.

data-gsap-magnetic Hover me ↗
04

Text reveal

Word-by-word motion while preserving an accessible text label.

data-gsap-text-reveal

Motion can support hierarchy.

05

Scroll progress

A lightweight page progress indicator tied to the current document scroll.

data-gsap-progress
06–07

Pinned + horizontal

Higher-impact storytelling patterns for selected landing-page experiences.

data-gsap-pin data-gsap-horizontal

Pinned storytelling

Use attention carefully.

Pinning is powerful, so this library treats it as a selective storytelling pattern—not a default interaction for routine commerce or navigation.

Checking motion preference…
Performance Animate transforms and opacity where practical.
Accessibility Never hide essential content behind motion.
Maintenance Initialize once. Clean up when the context changes.

Horizontal showcase

One vertical gesture. A wider story.

The library calculates the real track width at runtime and refreshes responsively.

WordPress

Conditional asset loading

Keep animation bundles off pages that do not use them.

GSAP

Reusable component APIs

One initializer or individual components depending on the project.

Accessibility

Reduced motion support

Respect user preferences without making content disappear.

Performance

Focused ScrollTriggers

Use motion as enhancement, then validate on real mobile hardware.

Open source

Inspect the implementation.

The complete source, WordPress integration example, docs, and release are public.

Open GitHub ↗

Built for real projects

Motion should make the experience clearer—not heavier.

Explore the source code, WordPress enqueue example, accessibility notes, performance guidance, and stable v1.0.0 release.