See it in action
<body> tag, and the engine automatically injects the fixed scroll viewports and protects external structural elements appropriately.
Usage
Enable ScrollSmoother by passing the configuration via the data-gsap-smooth attribute on the <body> element. In the standard PHP template, you can control this by defining a $body_attr variable before base.php is included.
Basic Example
effects: true active, simply drop these attributes onto any element within the smoothed container:
ScrollTrigger
See it in action
data-gsap attributes, allowing you to trigger, pin, sequence, and scrub timelines purely via HTML.
Basic Scroll Reveals
To trigger a standard animation when an element enters the viewport, simply add scroll: true to the standard data-gsap payload.
start. The default is top 85%.
data-gsap-scroll.
The data-gsap-scroll parent manages the scroll viewport timeline, and the GSAP engines scans the data-gsap children inside it to animate them concurrently.
Scrubbing Timelines
Links the animation exact duration to the physical scrollbar.
data-gsap="scroll: true" options
Parent
data-gsap-scroll options
ScrollTo
See it in action
ScrollTo plugin purely via the**data-sq-scrollto** global interaction.
Usage
Assign semantic IDs across HTML elements cleanly over your DOM tree. Immediately target those links without any custom JavaScript event listeners.
Explicit Section Anchors
If
data-sq-scrollto is missing, you may need to explicitly import ./gsap-modules/scroll-to.js through gsap-advanced.js.SplitText
See it in action
SplitText framework in a single**data-gsap-split** property designed exclusively for semantic text hierarchies.
Usage
Simply pass the type of split you desire, the transition animation coordinates, and define standard stagger offsets to create intricate, complex typographical sequences globally on scroll simply by declaring <div data-gsap-split="type: chars...">
Split by Character
type: lines inherently converts structural semantic paragraphs cleanly, adjusting line heights intrinsically to wrap on breakpoints sequentially across the parent container natively.
Typewriter
See it in action
TextPlugin specifically through the**data-gsap-text** payload natively. Use this dynamically for typing sequences explicitly over nested structural loops without writing custom callbacks mechanically natively.
Usage
Simply attach data-gsap-text="to: {text: {value: '...'}}" natively to any empty or prepopulated span layout natively in your DOM.
'value' is perfectly single-quoted cleanly inherently safely across HTML nodes natively.
DrawSVG
See it in action
DrawSVGPlugin to animate vector outline strokes smoothly. Use the targeted**data-gsap-draw** attribute on any generic <path>, <circle>, <line>, <polyline>, or <polygon> layer natively.
Usage
Attach the exact mapping coordinates you want DrawSVG to natively follow directly into the strings. Squeditor parses this via data-gsap-draw flawlessly.
Basic Draw
data-gsap-scroll="scrub: 1" logic dynamically generates precise UI tracing that seamlessly integrates physically with scrollbar movement explicitly natively.
MorphSVG
See it in action
MorphSVG framework. Utilizing the custom string parser, any standard <path> edge can cleanly convert into another existing structure simply by targeting its CSS ID.
Usage
Pass a valid SVG $id or standard CSS string selector into the morphSVG property on the custom**data-gsap-morph** attribute.
Basic Trigger
MorphSVG natively only functions on raw
<path> components. To morph basic geometry logic (<rect>, <circle>, etc.), utilize the convertToPath utility or explicitly code the vectors manually as <path> curves beforehand.