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

Gum

> 编程语言
开源

在任意平台创建 UI 的灵活布局工具

596 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在任意平台创建 UI 的灵活布局工具

Specifically it supports:

  • Inheritance
  • Object instances
  • Default/overriding variables
  • States (categorized and uncategorized)
  • Incredibly flexible layout engine

Gum exports to human-readable XML, and can be extended either using MEF or by modifying the source code directly.

Beautiful UI, styled in one line

Gum Forms controls look clean by default, and a single line of code restyles every control with a built-in theme — same UI, completely different look. Pick one of the shipped themes or author your own.

csharp
DarkProTheme.Apply(GraphicsDevice); // one line — every control restyled

DarkPro

Bubblegum

Neon

Retro 95

Forest Glade

Editor

See the full theme gallery and usage →

Tutorials and documentation can be found here:

https://docs.flatredball.com/gum/

Star History

Contributors

Need Help?

The fastest way to get help is to ask in our Discord: https://discord.gg/uQSam6w36d

You can also post an issue: https://github.com/vchelaru/Gum/issues

You can also check the docs: https://docs.flatredball.com/gum/

Installation

Gum's runtimes are published to NuGet. Install the package for your platform. All packages share the same version number, so they stay in sync.

Platform Runtime Shapes
MonoGame
KNI
raylib Built-in
SkiaSharp Built-in
Maui Built-in
FNA — (not supported)

Shapes is the recommended way to draw rectangles, circles, and other primitives in Gum. On MonoGame and KNI it ships as a separate add-on package (install it alongside the runtime); on the other platforms it's built into the runtime.

Sokol is no longer published. Gum.sokol versions up to 2026.9.2.1 remain on NuGet and still work, but receive no further updates: the backend depends on Sokol.NET, which is not actively maintained and whose submodule tree broke git pull for the Gum repo. The source still lives at Runtimes/SokolGum/ and builds against a hand-cloned Sokol.NET — see its README.

Gum produces general-purpose XML, so it can be used in virtually any C# environment. Beyond the packaged runtimes listed above, integrations also exist for environments such as FlatRedBall, Meadow, Silk.NET, WPF, and Avalonia. For integration details — or for using GumCore to integrate with your own runtime — see the main documentation: https://docs.flatredball.com/gum/

Issues· 0 开放

查看全部 Issues在 GitHub 打开

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

> 标签

C#fna-xnagame-uilayoutmonogame

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

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言