Skip to content

emmanpbarrameda/scrollify-js

Repository files navigation

Scrollify - Scroll Progress Bar Indicator

A modern, lightweight scroll progress indicator for web pages

Made by Open Source

Preview

🔴 Live Demo on CodePen
Looking for PHP Version?

✨ Features

  • Sleek and modern scroll progress indicator
  • Fully customizable appearance (height, colors, position)
  • Smooth animation effects
  • Lightweight with no dependencies
  • Easy integration with any website

🚀 Installation

1. Include Required Files

Add the following links to your HTML:

<!-- CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emmanpbarrameda/scrollify-js@latest/scrollify-scrollprogress-indicator.css">

<!-- JavaScript -->
<script src="https://cdn.jsdelivr.net/gh/emmanpbarrameda/scrollify-js@latest/scrollify-scrollprogress-indicator.js"></script>

2. Add Progress Bar Element

Insert this div where you want the progress bar to appear:

<div 
    class="scrollify_scroll_progress" 
    data-height="4px"
    data-background="linear-gradient(to left, #B374F8, #4da3ff)" 
    data-z-index="10000" 
    data-top="0px">
</div>

🎨 Customization

Customize the progress bar using these data attributes:

Attribute Description Default Value
data-height Height of the progress bar 4px
data-background Background color/gradient linear-gradient(to left, #B374F8, #4da3ff)
data-z-index Stack order of the bar 10000
data-top Top position of the bar 0px

💻 Usage Example

<!DOCTYPE html>
<html>
<head>
    <title>My Website with Scrollify</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/emmanpbarrameda/scrollify-js@latest/scrollify-scrollprogress-indicator.css">
</head>
<body>
    <!-- Progress Bar -->
    <div 
        class="scrollify_scroll_progress" 
        data-height="4px"
        data-background="linear-gradient(to left, #B374F8, #4da3ff)" 
        data-z-index="10000" 
        data-top="0px">
    </div>

    <!-- Your content here -->

    <script src="https://cdn.jsdelivr.net/gh/emmanpbarrameda/scrollify-js@latest/scrollify-scrollprogress-indicator.js"></script>
</body>
</html>

🤝 Contributing

Want to contribute? That's great! You can:

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/NewFeature)
  3. Push your changes (git push origin feature/NewFeature)
  4. Open a Pull Request

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

💪 Support the Project

If you find this project helpful, consider:

  • ⭐ Starring the repository on GitHub
  • 🐦 Sharing it on Twitter
  • ☕ Supporting via PayPal

👤 Get in touch

Visit My Portfolio
Profile Image

Check out my portfolio to learn more about me!

GitHub Followers
Cover Image

              


Made with ❤️ by emmanpbarrameda

About

Scrollify-JS - A modern, lightweight scroll progress indicator for web pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published