Skip to main content
ScrollSmoother

See it in action

ScrollSmoother provides physically continuous, buttery inertia-based scrolling and native page-level parallax support. In the Squeditor framework, you donot need to manually define the wrapper/content divs in your template, nor do you write JavaScript. Simply attribute the <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
When rendered, the HTML behaves like this:
Parallax Attributes With effects: true active, simply drop these attributes onto any element within the smoothed container:
Options Pass standard ScrollSmoother parameters dynamically through the string configuration.

ScrollTrigger

See it in action

ScrollTrigger natively bridges GSAP animations with viewport scroll position. Squeditor fully integrates ScrollTrigger directly into the primary 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.
If you need a specific starting offset, provide start. The default is top 85%.
Advanced Scrubbing and Pinning For advanced functionality—like pinning massive structural sections or scrubbing timelines backwards and forwards synced frame-for-frame with the scrollbar—use the wrapper attribute 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.
Pinning Sections Great for locking a section in place while interior items transition.
Options Reference Child data-gsap="scroll: true" options Parent data-gsap-scroll options

ScrollTo

See it in action

Squeditor introduces automated DOM hooks routing straight through the 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.
Data Config Properties

SplitText

See it in action

Instead of utilizing native JavaScript iterations natively, Squeditor wraps GSAP’s entire SplitText framework in a single**data-gsap-split** property designed exclusively for semantic text hierarchies.
Never apply data-gsap-split to elements with child HTML tags (like <strong> or <a>). Plain text headings or semantic <p> tags only.
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
Split by Word or Line Using type: lines inherently converts structural semantic paragraphs cleanly, adjusting line heights intrinsically to wrap on breakpoints sequentially across the parent container natively.
Internal Options Overrides

Typewriter

See it in action

Squeditor securely binds the GSAP 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.
Parameter Parsing Reference Squeditor’s deep JS payload string parses nested objects organically cleanly internally explicitly. Ensure your 'value' is perfectly single-quoted cleanly inherently safely across HTML nodes natively.

DrawSVG

See it in action

Squeditor natively bundles GSAP’s robust 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
**Native Scroll Scrubbing ** Combining this with the parent data-gsap-scroll="scrub: 1" logic dynamically generates precise UI tracing that seamlessly integrates physically with scrollbar movement explicitly natively.
Options Configuration

MorphSVG

See it in action

Squeditor natively bundles the 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.
Options Standard GSAP vars are seamlessly inherited. Only target raw paths on raw paths.