ZacharyZhang-NYandClaude Opus 5.5 4efaf2680f Add layout components 0001-0025
Stack through StickyHeader, with behavior tests and gallery demos.
kit gains Arrive, Settle (paint-time layout check) and Shade.
Several actions return named ui.Element results; mygo vet forbids
elements in structs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 02:49:32 -04:00
2026-10-17 02:49:32 -04:00
2026-10-17 02:49:32 -04:00
2026-10-17 02:49:32 -04:00
2026-10-17 02:49:32 -04:00

CrychicUI

MyGo 原生 UI 的 Go 组件库。沿用 MyGo 自己的外观:锌灰底色,跟随系统的强调色,6 DIP 圆角,4 DIP 间距单位,系统字体。每个组件都会动,每个可交互组件都有合成音效。

界面由 MyGo 在 GPU 上自绘,不用 HTML、JavaScript 或 WebView。

安装

go get git.zacharyzhang.com/ZacharyZhang-NY/CrychicUI

要求 Go 1.27.1 与 MyGo v0.5.5。

音效

可交互组件在动作时播放一个音效,默认开启。

sound.SetEnabled(false) // 全部静音
go run ./cmd/gallery

同一个程序编译成 WebAssembly,就是网站:https://crychicui.zhangyanghaha0407.workers.dev

许可

MIT。第三方声明见 THIRD_PARTY_NOTICES.md。

S
Description
1500 components for MyGo native UI, in MyGo's own look, with motion and sound.
Readme MIT
627 KiB
1 Stars 1 Watchers 0 Forks
Languages
Go 88.6%
JavaScript 9.5%
HTML 1.9%