#leptos #component #struct #define #macro

macro leptos-struct-component-macro

Define Leptos components using structs

6 releases

Uses new Rust 2024

0.2.0 May 5, 2025
0.1.0 Feb 10, 2025
0.0.4 Feb 10, 2025
0.0.3 Dec 7, 2024
0.0.2 Nov 23, 2024

#297 in #leptos

Download history 5/week @ 2025-08-04 16/week @ 2025-08-11 7/week @ 2025-08-18 11/week @ 2025-08-25 265/week @ 2025-09-01 255/week @ 2025-09-08 232/week @ 2025-09-15 227/week @ 2025-09-22 173/week @ 2025-09-29 46/week @ 2025-10-06 184/week @ 2025-10-13 150/week @ 2025-10-20 157/week @ 2025-10-27 145/week @ 2025-11-03

641 downloads per month
Used in 44 crates (via leptos-struct-component)

MIT license

14KB
242 lines

Leptos Struct Component Macro

Define Leptos components using structs.

Documentation

Documentation for the crates is available on Docs.rs:

Rust For Web

The Leptos Struct Component project is part of Rust For Web.

Rust For Web creates and ports web UI libraries for Rust. All projects are free and open source.

Dependencies

~155–570KB
~13K SLoC