Shown!
by gdpulsar
Shown! is a widget-based UI library for Fabric and NeoForge, built around a custom position and size system for interface panels.
What it does
Widgets in the library take their placement from a custom vector type called UIVec, which holds two values per axis: a scale, measured relative to the parent widget, and an offset, a fixed pixel value. Combining the two lets a panel size itself against the screen while child elements keep exact pixel dimensions.
The library includes worked examples of nested panels, showing how a child box with a half-width scale and a fixed offset sits inside a parent. A simple panel placed at the center of the screen at half size is shown as a starting point for interface work.
Shown! is published for Fabric and NeoForge on 1.21.1 only, with latest files 0.1.5 for 1.21.1, dated 2026-01-05, on the alpha channel. It is client-side only, so servers do not need it, and it is released under All rights reserved, so it is not open source. Public links exist for the source code and a wiki.
Key features
Widget-based UI library
Provides a set of widgets that can be arranged into interface panels and nested inside one another.
Scale and offset positioning
Each axis of a widget takes a scale relative to its parent and a constant offset, so layouts respond to screen size.
Nested panel examples
Worked examples show a parent panel with child boxes and how their sizes resolve in pixels.
Fixed-size header bars
Elements such as a 20 pixel tall header bar can be pinned to a fixed height inside a scaled panel.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Centered panels
A simple panel can be placed at the center of the screen at half the screen size on each axis.
Responsive layouts
Scale values let an interface keep its proportions as the window changes size, while offsets keep fixed elements exact.
Who it’s for: Mod developers building interfaces on Fabric or NeoForge who want widgets positioned by relative and absolute values.
Questions
Does Shown! need to be installed on servers?
Which loaders does Shown! support?
Can Shown! be reused in other projects?
More from gdpulsar
What the author says
When creating and adding widgets, you should make them in init(). Your call to super.init() should also always be at the bottom, as this runs the initialization for all of the added widgets, as well as updates the dimensions of each widget. As seen above, the entire width of the panel is 100px while the height of the…
Official listing
- Modrinth page
- modrinth.com/mod/shown
- Owner
- gdpulsar
- Published
- 2025-12-19
- Updated on Modrinth
- 2026-01-05
- Facts verified
- 2026-10-15
