slider-rs

Crates.ioslider-rs
lib.rsslider-rs
version0.0.2
created_at2025-05-13 20:37:47.326066+00
updated_at2025-05-15 18:42:48.307345+00
description🎚️ A highly customizable slider component for WASM frameworks like Yew, Dioxus, and Leptos.
homepage
repositoryhttps://github.com/opensass/slider-rs
max_upload_size
id1672506
size207,549
Mahmoud (wiseaidev)

documentation

https://docs.rs/slider-rs/

README

🎚️ Slider RS

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

Join our Discord

logo

🎬 Demo

Framework Live Demo
Yew Netlify Status
Dioxus Netlify Status
Leptos TODO

📜 Intro

Slider RS is a highly customizable, precision-focused slider component designed for WASM-based frameworks like Yew, Dioxus, and Leptos. It supports single and range (double-thumb) sliders, rich styling options, full keyboard navigation, and robust accessibility features for inclusive user interfaces.

🤔 Why Use Slider RS?

The following features make Slider RS an essential component for modern web apps built with Rust & WebAssembly:

  1. 🎚️ Single & Range Sliders: Supports both single-value sliders and double-thumb range selectors out of the box.
  2. 🎨 Fully Customizable Styling: Fine-grained control over classes, inline styles, custom thumb content, and icon slots.
  3. 🦽 Accessibility Ready: Built-in ARIA support, keyboard interactions, and focus management for screen readers.
  4. ⚡ Reactive & Efficient: Powered by Callback system with optimized rendering via prop diffing.
  5. 🔢 Advanced Features: Tick marks, tooltips, step indicators, and responsive orientation handling.
  6. 🖱️ Smooth UX: Range dragging, keyboard stepping, hover tooltips, and fine-tuned input behaviors.

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 (TODO)

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 Slider RS better.

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. Submit a pull request for review.

📜 License

Slider RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.

Commit count: 8

cargo fmt