SSGL
📚 SSGL: Smile's Simple GUI Library
This is a simple GUI library I built specifically for my needs of my mods. Feel free to use it for your mods too!
Currently maintaining for
26.2and26.3(Fabric)
Features
- Simple GUI creation and screen management
- Optional game pausing when a GUI is opened
- Horizontal and vertical layouts
- Nested containers and scroll areas
- Labels, buttons, and ON/OFF toggles
- Sliders, text fields, integer fields, and decimal fields
- Image buttons with automatic aspect-ratio preservation
- Runtime image support through dynamic textures
- Tooltips and Minecraft translations
- Shared values with change listeners
- Automatic sizing for smaller screens
Read the API documentation here: https://mods.smilelulz.com/mods/ssgl/wiki/