Skip to content

ScrollMoo is a pure JavaScript-based tool that lets you create high-performance, keyframed scroll-based animations.

License

Notifications You must be signed in to change notification settings

MarciCzebe/ScrollMoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ScrollMoo

ScrollMoo is a pure JavaScript-based tool that lets you create high-performance, keyframed scroll animations. Whether you're a professional web developer or just familiar with HTML, CSS, and JavaScript basics, the simplicity of ScrollMoo will make it easy and enjoyable to create spectacular web animations.

For more information, please visit ScrollMoo.com

Demos

Check out multiple demos on ScrollMoo's website.

Docs

You can find full documentation here.

Installation

You can find detailed installation guide here.

CDN

If you prefer to use a CDN

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scrollmoo.min.js"></script>

NPM

You can also install it with NPM

npm install scrollmoo

Usage

import ScrollMoo from "scrollmoo"; // NPM

Static Object

Applies the same animation properties to all element(s).

let SM = ScrollMoo({
    ".your-element": {
        markers: true, // only during the development
        keyframes: {
            transform: {
                rotate: {
                    100: "360deg"
                }
            }
        }
    }
});

Dynamic Function

"i" represents the index of each element.

let SM = ScrollMoo({
    ".your-elements": i => ({
        markers: true, // only during the development
        keyframes: {
            transform: {
                rotate: {
                    100: (i + 1) * 45 + "deg"
                }
            }
        }
    })
});

License

MIT

Copyright (c) 2025, ScrollMoo.

About

ScrollMoo is a pure JavaScript-based tool that lets you create high-performance, keyframed scroll-based animations.

Topics

Resources

License

Stars

Watchers

Forks