<div align="center">
# 🔤 Input RS
[](https://crates.io/crates/input-rs)
[](https://crates.io/crates/input-rs)

[](https://www.rust-lang.org/)
[](https://www.rust-lang.org)
[](https://github.com/wiseaidev)
[](https://discord.gg/b5JbvHW5nv)

</div>
## 🎬 Demo
| Text |  |
| Password |  |
| Textarea |  |
| Telephone |  |
| Yew | [](https://input-rs.netlify.app) |
| Dioxus | [](https://input-rs-dioxus.netlify.app) |
| Leptos | [](https://input-rs-leptos.netlify.app) |
### 📜 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.
1. **🔑 Flexible Input Types**: Supports text, password, phone number, and more with built-in validation.
1. **⚡ Interactive Callbacks**: Efficiently handle value changes and validity checks with customizable callback functions.
1. **🧩 Accessibility**: Built-in ARIA attributes for screen readers and other assistive technologies.
1. **📞 Phone Number Validation**: Dynamic phone number parsing with country code support.
## Y Yew Usage
Refer to [our guide](https://github.com/opensass/input-rs/blob/main/YEW.md) to integrate this component into your Yew app.
## 🧬 Dioxus Usage
Refer to [our guide](https://github.com/opensass/input-rs/blob/main/DIOXUS.md) to integrate this component into your Dioxus app.
## 🌱 Leptos Usage
Refer to [our guide](https://github.com/opensass/input-rs/blob/main/LEPTOS.md) 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.
1. Create a new branch for your feature/bugfix.
1. Submit a pull request for review.
## 📜 License
Input RS is licensed under the [Apache License](LICENSE). You are free to use, modify, and distribute this library in your projects.