Expand description
Β§π¬ 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.
Re-exportsΒ§
pub use common::Behavior;