Compatibility
Minecraft: Java Edition
1.21.x
Platforms
Supported environments
Client and server
Links
Tags
Creators
Details
Licensed MIT
Published 3 weeks ago
What is MenuKit?
MenuKit is a UI and inventory framework for Fabric mods. It lets mod developers add custom inventory slots, persistent containers, panels, buttons, and HUD overlays using simple builder chains — no boilerplate, no manual packet sync, no NBT wrangling.
Most Fabric UI libraries only handle screens and widgets. MenuKit goes deeper: it manages real inventory slots that persist across sessions, sync between client and server automatically, and integrate with vanilla's shift-click and container systems.
Features
- Custom inventory slots — add real, functional slots to the player inventory with automatic NBT persistence and client-server sync
- Panel builder — declarative layout with rows, columns, padding, relative positioning, and context-aware placement (survival, creative, containers)
- Button system — toggle buttons, icon buttons, dynamic tooltips, conditional visibility, and pressed/disabled states
- Button attachments — inject buttons above any container region without touching the target mod's code
- HUD overlays — panels anchored to screen edges with conditional visibility and custom rendering
- Mod families — group multiple mods under one shared keybind category and unified config screen
- Shift-click routing — directional control with priority slots, per-panel opt-in/opt-out
- Slot decorations — filters, ghost icons, slot locking, empty-click handlers, background tints
- Region system — organize container slots into named regions and groups for bulk operations
- Creative mode support — automatic slot repositioning between survival and creative layouts
- Standalone screens — full-screen custom UIs with the same slot and panel APIs
Who is this for?
MenuKit is a library for mod developers. Install it if another mod requires it, or use it to build your own inventory-aware Fabric mods.
Requirements
- Minecraft 1.21.11
- Fabric Loader 0.15.0+
- Fabric API


