Skip to main content

Magic Cursor

See it in action

Attribute: data-sq-cursor The Magic Cursor module replaces the default system pointer with a custom interactive dot and following circle. The cursor scales up when hovering over interactive elements such as links and buttons. Usage Simply add data-sq-cursor to the <body> element. In the Squeditor framework, you can enable this globally or per page by setting the variable $enable_cursor = true in the PHP template. Basic example
Advanced example with options
Options Interactive Elements Check The cursor automatically grows when hovering over elements matching the following selectors:
  • a
  • button
  • [data-sq-cursor-hover]
  • input
  • label

Cursor Preview

See it in action

Attribute: data-sq-preview The Cursor Tracking Image Preview module reveals an image that tracks the mouse movement when hovering over list items. This is widely used for portfolio lists, team directories, and visual indices. Usage Apply data-sq-preview to the wrapper parent element (e.g., a <ul>), and then give each child element a data-preview-src pointing to the image URL. Basic Example
PHP Component Example
Options These attributes are added to the child elements of the data-sq-preview wrapper.

Infinite Loop Panels

See it in action

Attribute: data-sq-loop-panels This module stacks full-height sections naturally. As you scroll, each new panel snaps into the viewport, layering atop the previous section. Usage Apply data-sq-loop-panels to a wrapper. Its direct children become the panels. Basic Example

Directional Marquee

See it in action

Attribute: data-sq-marquee View Demo The Directional Marquee creates an infinite horizontal scrolling banner. It clones the content inside the wrapper to seamlessly loop. It observes scroll velocity, speeding up momentarily if the user scrolls quickly, and switches direction depending on whether the user scrolls up or down. Usage Wrap the items in a container with the data-sq-marquee attribute. Basic Example
Advanced Example
Options

Pinned Panels

See it in action

Attribute: data-sq-panels The Pinned Panels module pins a section to the top of the viewport and creates an overscroll effect where the next panel scales down the current one and slides over it. Designed for impactful storytelling sections, long-form content, and case study breakdowns. Usage Wrap your individual panel sections in a parent div that has the data-sq-panels attribute. Basic Example
Advanced Example
Options

Swipe Slider

See it in action

Attribute: data-sq-swipe The Swipe Slider creates an event-based slider that responds to mouse wheel, touch swipe, and keyboard (ArrowUp/ArrowDown). No actual DOM scrolling occurs.
Never apply data-sq-swipe and UIKit3 Slider to the same wrapper.
Usage Apply data-sq-swipe to the slider container with immediate children acting as the slides. Basic Example
Advanced Example
Options

Text Masking Reveal

See it in action

Attribute: data-sq-mask This module uses SplitText to break text into lines or words, then adds an overflow: hidden wrap to mask the text as it animates vertically into view. An elegant way to format large headings and stylized paragraphs.
Never apply data-sq-mask to elements with child HTML tags (such as <span> or <strong>).
Usage Apply data-sq-mask directly to a text element containing plain text. Basic Example
Advanced Example
Options

Cursor Driven Perspective Tilt

See it in action

Attribute: data-sq-tilt The Perspective Tilt module adds an interactive 3D rotation to an element when hovered, giving it a tactile, card-like feel. It’s often used for team members, featured projects, or pricing cards.
Never apply data-sq-tilt to UIKit3 Sticky elements.
Usage Simply add the data-sq-tilt attribute to any element. Basic Example
Advanced Example
Options