Ellemes' Container Library
Note: This project is planned to be merged back into Expanded Storage in the future. Mod developers are advised not to rely on it long-term.
Overview
Previously part of Expanded Storage, this library provides mod developers with an easy way to display basic inventories to users.
For Players
The library offers three interface options for viewing inventories: paginated, scrollable, and single-page.
Scrollable and paginated interfaces automatically adjust to screen size, while the single-page interface may not fit on smaller displays - in such cases, a red exclamation mark appears in the selection menu.
The currently selected option is highlighted in gold in the selection menu. You can change the interface type by pressing Shift + G with an inventory open or through the mod's configuration menu in Forge and Fabric.

Additional Settings
Two additional options are available only through configuration files: restrictive_scrolling and prefer_smaller_screens.
Restrictive scrolling requires hovering over the scroll bar track to move through slots. Prefer smaller screens creates more pages with less empty space instead of fewer pages with larger empty areas.
For Developers
The project includes an API for opening inventories and adding custom interface types. Helper functions are also available for combining multiple inventories or sided inventories.
For assistance, you can study the built-in interface types, the test mod on GitHub, or contact the author via Discord (member of QuiltMC and AoGuilds) or GitHub.