Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
English description is completed by AI.
Overview
FluentUI is a client-side UI library mod for Fabric. It provides a set of Fluent-style widgets and layouts for building custom screens and menus in code.
This is a library. Installing it alone does nothing visible — it has no keybinds, commands or screens of its own. It only matters when installed alongside a mod that depends on it, or when used as a development dependency.
What it offers
- Widgets: buttons, text boxes (with undo/redo & clipboard menu), auto-complete box, sliders, steppers, toggles, select boxes / dropdowns, item lists & views, progress bars and etc; Overlays: Preset tooltips, context menus, toast messages
- Layouts: stack panel, canvas, layered panels, anchors
- Hover / focus interaction handling, keyboard navigation, simple animation support
develope
Add FluentUI as a dependency and extend FluentScreen, then compose elements
fluently (new Button(...).font(...).action(...)) inside your own screens.
Source are available in the linked repository.
概述
FluentUI 是一个面向 Fabric 的客户端 UI 库 mod,提供一组 Fluent 风格的控件与布局, 用于在代码中搭建自定义界面和菜单。
这是库模组(library)。 单独安装它不会有任何可见效果—。不提供按键、命令或独立界面。 仅当安装依赖此模组的模组才有用。
提供内容
- 控件:按钮、文本框(撤销/重做、剪贴板右键菜单)、自动补全输入框、滑块、步进器、开关、下拉选择、物品列表/视图、进度条等;浮层:工具提示(Tooltip)、右键菜单、下拉菜单、Toast 通知
- 布局:StackPanel(堆叠面板)、Canvas(自定义绘制布局)、浮层、锚点定位
- 悬停/焦点交互处理、命中管理和事件传递、键盘导航、简单动画支持
开发
将 FluentUI 作为依赖引入后继承 FluentScreen,用链式写法组合元素即可。
支持使用交互管理器(InteractioinManager)托管交互。
参考仓库源代码。


