leptos_form: Derive leptos forms from rust structs
Documentation
- Docs
- GitHub repository
- Cargo package
- Minimum supported Rust version: 1.75.0 or later
Features
- Automatic form parsing -- focus on how your data is represented and not on how to get it in and out of html
- Easy specification of label and input classes, great for Tailwind integration
- Labels are derived from struct fields and can be given form-wide casing
- DOM layout customization through attributes
- Integration with popular crates
Crate features
This crate offers the following features, all of which are not activated by default:
bigdecimal: Provides impls forBigDecimalchrono: Provides impls forDateTime,NaiveDate,NaiveDateTimenum-bigint: Provides impls forBigIntandBigUintuuid: Provides impls forUuid
Example