百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
H

haalka

> 前端框架
开源

基于 FRP 信号的人体工程学反应式 Bevy UI 库

194 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

基于 FRP 信号的人体工程学反应式 Bevy UI 库

haalka হালকা

in bengali, haalka means "light" (e.g. not heavy) and can also be used to mean "easy"

haalka is an ergonomic reactive Bevy UI library powered by the FRP signals of jonmo with API ported from web UI libraries MoonZoon and Dominator.

assorted features

  • simple high-level alignment semantics ported from MoonZoon (see align example below)
  • pointer event handling methods
    • hovered change methods (including web-style Enter and Leave events)
    • on click and on-click-outside methods
    • on pressed methods, with throttle-ability
  • cursor-on-hover management
  • global event handling methods
  • mouse wheel scroll handling methods
  • signals-integrated text input, a thin layer on top of bevy_ui_text_input
  • viewport mutation handling methods
  • simple grid layout model ported from MoonZoon
  • macro rules for adding signal helper methods to custom element structs

feature flags

examples

…

on the web

All examples are compiled to wasm for both webgl2 and webgpu (check compatibility) and deployed to github pages.

  • counter webgl2 webgpu

    the example above, a simple counter

  • button webgl2 webgpu

    a basic button, port of

  • align webgl2 webgpu

    alignment API demo, port of and

  • scroll webgl2 webgpu

    scrollability API demo, inspired by

  • scroll_grid webgl2 webgpu

    i can't believe it's not scrolling!

  • snake webgl2 webgpu

    the classic, with adjustable grid size and tick rate

  • dot_counter webgl2 webgpu

    forward ecs changes to the ui, throttled button presses

  • dragging webgl2 webgpu

    dragging with z-index stacking

  • key_values_sorted webgl2 webgpu

    text inputs, scrolling/viewport control, and reactive lists; promises made promises kept! (yes I take requests)

  • calculator webgl2 webgpu

    simple calculator, spurred by

  • nested_lists webgl2 webgpu

    nested dynamic lists, arbitrarily deeply nested retained reactivity, spurred by

  • main_menu webgl2 webgpu

    sub menus, sliders, dropdowns, reusable composable widgets, gamepad navigation

  • inventory webgl2 webgpu

    grid, icons, drag and drop, tooltips

  • healthbar webgl2 webgpu

    3D character anchor, customizable widgets

  • responsive_menu webgl2 webgpu

    nine-patch buttons, screen size reactivity

  • character_editor webgl2 webgpu

    scrollable buttons, mutable viewport, text input reactivity

  • futures_signals_jonmo_compat webgl2 webgpu

    demonstrates that both futures-signals and jonmo signals backends can be used together

Or run them locally with cargo.

…

Or with just, e.g. just example snake -r.

Bevy compatibility

bevy haalka
0.18 0.7
0.17 0.6
0.16 0.5
0.15 0.4
0.14 0.2
0.13 0.1

development

  • avoid the gh-pages branch and include submodules when fetching the repo
    bash
    git clone --single-branch --branch main --recurse-submodules https://github.com/databasedav/haalka.git
  • install just
  • install nickel for modifying CI configuration (nickel must be in your PATH)
  • install File Watcher for automatically syncing nickels

license

All code in this repository is dual-licensed under either:

  • MIT License (LICENSE-MIT or )
  • Apache License, Version 2.0 (LICENSE-APACHE or )

at your option.

Assets used in examples may be licensed under different terms, see the examples README.

your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbevyframeworkfrpreactive

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架