{"repo":"ohkami-rs/uibeam","free":true,"listed":false,"github":"https://github.com/ohkami-rs/uibeam","clone":"git clone https://github.com/ohkami-rs/uibeam.git","description":"A struct-based, JSX-style Web UI library for Rust","language":"Rust","stars":81,"topics":["jsx","rust","rust-lang","template-engine","ui","ui-library","wasm","web-assembly","webassembly","web"],"license":"MIT","category":"ui-components","readme_excerpt":"UIBeam A struct-based, JSX-style Web UI library for Rust - UI! : JSX-style template syntax with compile-time checks - Beam : Component system based on Rust structs Features - Struct-based component model. - Client components via island architecture in Wasm. ( experimental ) (See Client Component section below) - Best effort to generate efficient code for template rendering with less redundant memory allocation. Additionally, HTML completions and hovers in UI! by VSCode extension. (search uibeam in the extension marketplace) Usage When using uibeam just as a template engine, disabling client default feature is recommended to eliminate useless dependencies: UI! syntax unsafely insert HTML string raw string literal ( r#\"...\"# ) or unsafe block contents are rendered without HTML-escape : conditional & iterative rendering {} at node-position in UI! can render, in addition to Display -able values, any impl IntoIterator . This includes Option or any other iterators yielding UI s ! Beam - Component with Rust struct and JSX-like syntax Client Component - Wasm islands overview #[client] makes your Beam a Wasm island : initially rendered on server, sent with serialized props, and hydrated with deserialized props on browser. Signal , computed , effect , batch , untracked are available in them. note EXPERIMENTAL . Currently UIBeam's hydration/reactivity system is built upon Preact. This will be rewritten in pure Rust in the future. usage working example: examples/counter 1. Activate \"clie","default_branch":null,"files":null,"tree":[],"storefront":"/r/ohkami-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ohkami-rs/uibeam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}