scroll-rs

Crates.ioscroll-rs
lib.rsscroll-rs
version0.2.3
created_at2024-12-18 19:26:39.313754+00
updated_at2025-04-17 10:42:47.71756+00
description🖱️ A headless, customizable scroll-to-target component for WASM frameworks like Yew, Dioxus, and Leptos.
homepage
repositoryhttps://github.com/opensass/scroll-rs
max_upload_size
id1488376
size178,171
Mahmoud (wiseaidev)

documentation

https://docs.rs/scroll-rs/

README

🖱️ Scroll-RS

Crates.io Crates.io Downloads Crates.io License made-with-rust Rust Maintenance

Open SASS Discord

logo

🎬 Demo

scroll-rs-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:

  1. ← ↑ → ↓ Scroll Anywhere: Easily navigate to specific sections or positions on the page.
  2. 🎨 Fully Customizable: Use your own CSS styles, animations, and SVG icons.
  3. ⚡ Smooth Behavior: Choose between smooth, instant, or delayed scrolling effects.
  4. 👀 Auto-Hide: Automatically hide or show based on user-defined thresholds.
  5. 🔧 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.

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. 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.

Commit count: 14

cargo fmt