waterui
Installation
SKILL.md
WaterUI App Development
Build views with reactive state. When unsure, use Explore agent to search examples/*/src/lib.rs.
CRITICAL: Reactive-First Pattern
WaterUI is a reactive framework. ALWAYS pass Bindings directly to APIs instead of using .get() or watch.
Most WaterUI APIs accept impl Signal or impl IntoSignalF32 - pass bindings directly for automatic reactivity:
// ✅ CORRECT - Pass binding directly, updates automatically
Photo::new(url).blur(blur_value.clone()) // blur updates as slider moves
view.visible(is_visible.clone()) // visibility reacts to state
view.opacity(opacity_value.clone()) // opacity animates reactively
view.disabled(is_loading.clone()) // disabled state follows loading
text!("Count: {count}") // text updates automatically