Thanks to visit codestin.com
Credit goes to lib.rs

#leptos #dioxus #yew

input-rs

🔤 A highly customizable input component for WASM frameworks like Yew, Dioxus, and Leptos

6 releases

0.2.5 Apr 17, 2025
0.2.4 Dec 26, 2024

#239 in Science

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

178 downloads per month
Used in hero

Apache-2.0

105KB
3K SLoC

🔤 Input RS

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

Open SASS Discord

logo

🎬 Demo

Input Type Demo
Text text-demo
Password pass-demo
Textarea textarea-demo
Telephone tel-demo
Framework Live Demo
Yew Netlify Status
Dioxus Netlify Status
Leptos Netlify Status

📜 Intro

A reusable input component built for WASM frameworks like Yew, Dioxus, and Leptos. It's customizable, accessible, and designed to simplify creating dynamic input fields in your applications.

🤔 Why Use Input RS?

The following features make Input RS a must-have for your WASM-based projects:

  1. 🎨 Advanced Customization: Style inputs with custom classes, inline styles, and themes to suit your app's design.
  2. 🔑 Flexible Input Types: Supports text, password, phone number, and more with built-in validation.
  3. ⚡ Interactive Callbacks: Efficiently handle value changes and validity checks with customizable callback functions.
  4. 🧩 Accessibility: Built-in ARIA attributes for screen readers and other assistive technologies.
  5. 📞 Phone Number Validation: Dynamic phone number parsing with country code support.

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

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

📜 License

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

Dependencies

~7–16MB
~280K SLoC