Expand description
Β§π¬ Demo
Β§π Intro
A highly customizable, accessible form component library for WASM frameworks: Yew, Dioxus, and Leptos.
Supports HTML5 and ARIA validation, composable sub-components (Form, Control, FormLabel,
Helper, Group, ControlLabel, Field), and full WCAG 2.2 AA compliance.
Β§π€ Why Form RS?
- π¨ Fully Customizable: Control variant, color, size, class, style, ARIA labels, and every sub-component attribute.
- π§© Composable API: Mix
Form,Control,FormLabel,Helper,Group,ControlLabel, andFieldindependently or together. - β Dual Validation: Supports native HTML5 validation and real-time ARIA error messaging.
- βΏ Accessible by Default:
aria-describedby,aria-required,aria-invalid, androle="alert"wired up automatically. - π§ Framework Agnostic: Same API semantics across Yew, Dioxus, and Leptos.
Β§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 Form RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
Β§π License
Form RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.
Re-exportsΒ§
pub use common::Color;pub use common::EncType;pub use common::FormStatus;pub use common::LabelPlacement;pub use common::Margin;pub use common::Method;pub use common::Size;pub use common::Target;pub use common::ValidationBehavior;pub use common::ValidationState;pub use common::Variant;
