#input #leptos #dioxus #yew #wasm-framework

input-rs

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

5 releases

0.2.4 Dec 26, 2024
0.2.3 Dec 6, 2024
0.2.2 Dec 6, 2024
0.2.1 Dec 6, 2024
0.2.0 Dec 6, 2024

#1066 in Web programming

Download history 344/week @ 2024-12-06 6/week @ 2024-12-13 69/week @ 2024-12-20 45/week @ 2024-12-27

464 downloads per month

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–20MB
~286K SLoC