3 releases
new 0.2.2 | Dec 19, 2024 |
---|---|
0.2.1 | Dec 18, 2024 |
0.2.0 | Dec 18, 2024 |
#1521 in Web programming
172 downloads per month
47KB
524 lines
🎬 Demo
📜 Intro
Scroll-RS
is a headless, customizable scroll-to-target component for Wasm-based frameworks like Yew, Dioxus, and Leptos. Enhance user experience by enabling smooth, controlled scrolling to specific positions on a page with optional auto-hide and custom styling.
🤔 Why Use Scroll-RS?
The following are some of the reasons why Scroll-RS is a great addition to your Wasm projects:
- ← ↑ → ↓ Scroll Anywhere: Easily navigate to specific sections or positions on the page.
- 🎨 Fully Customizable: Use your own CSS styles, animations, and SVG icons.
- ⚡ Smooth Behavior: Choose between smooth, instant, or delayed scrolling effects.
- 👀 Auto-Hide: Automatically hide or show based on user-defined thresholds.
- 🔧 Flexible Offsets: Adjust scrolling positions and delays with ease.
Y Yew Usage
Refer to our guide to integrate this component into your Yew app.
🧬 Dioxus Usage
Refer to our guide to integrate this component into your Dioxus app.
🌱 Leptos Usage
Refer to our guide to integrate this component into your Leptos app.
🤝 Contributions
Contributions are welcome! Whether it's bug fixes, feature requests, or examples, we would love your help to make Scroll-RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
📜 License
Scroll-RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.
Dependencies
~7–20MB
~282K SLoC