Go to file
Kinneyzhang 4497121162 feat(ui): add official component catalog
Provide the optional official Component catalog with controlled Button, Checkbox, Label, Panel, and DataGrid implementations plus public-path tests and bilingual usage documentation.
2026-08-05 06:59:22 +08:00
tests feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
.gitignore feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
etaf-ui.el feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
Makefile feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
README.md feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00
README.zh-CN.md feat(ui): add official component catalog 2026-08-05 06:59:22 +08:00

etaf-ui

etaf-ui is the official ETAF Component catalog. It is a normal optional package above etaf; it does not add a second Control or Widget model. Button, Checkbox, Label, Panel, and DataGrid are all ordinary Components with the same View, props, slots, events, and Data contracts.

(require 'etaf-ui)

(let ((done (etaf-ref nil)))
  (etaf-view
   (etaf-checkbox
    :checked (etaf-value done)
    :label "Done"
    :on-change (lambda (next) (setf (etaf-value done) next)))))

Run make check EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs from this directory.