ModsFinder

Brapi

by BulbaSprout

Brapi is a Fabric library for drawing user interfaces, with rounded rectangles, gradients, textures, text and sprite slicing exposed through one simple API.

FabricClient-side onlyGNU Lesser General Public License v3.0 onlyOpen source1.21.11

What it does

Brapi is a UI rendering library for Fabric mods. Layered above Minecraft's built-in rendering pipeline, the library lets developers draw circles, outlines and rounded rectangles, including rectangles whose corners differ in size, through one call per shape. Text, gradients, textures and 9-slice sprites are supported too, aimed at developers who want smoother visuals without building their own shader setup.

Heavy graphics libraries such as Skia are large and take effort to set up the first time. Brapi is meant as a lighter alternative for interface work. Developers do not have to write their own shaders or manage draw calls and flush steps, since the library works out the draw order so layered interface elements render in the right sequence.

Brapi requires Fabric API and is published for 1.21.11 only, released under the GNU Lesser General Public License v3.0 only, and is open source. The source code and issue tracker are public. It runs on the client alone, so it is only needed on the client side.

Key features

  1. Rounded shapes

    Circles, outlines and rounded rectangles can be drawn in one line, including rectangles whose corners have different sizes.

  2. Automatic batching and layering

    The library chooses the draw order of layered elements, so an interface keeps its intended appearance without manual ordering.

  3. Colors in ARGB

    Colors use the ARGB format, so opaque red and semi-transparent red are written as two separate hexadecimal values.

  4. GUI scale coordinates

    Positions and sizes are expressed in GUI scale units, so layouts keep their proportions when the scale changes.

  5. Anchor positions

    Elements can be placed relative to the left, right, top or bottom edges, and to the corners where those edges meet.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.110.26+1.21.11+fabric
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Custom interface panels

A mod with its own screens can draw rounded panels, buttons and labels without writing a rendering pipeline.

Sprite-based menus

9-slice sprites let a menu border stretch to any size while its corners keep their shape.

Who it’s for: Brapi is for mod developers who want more visual options than Minecraft's basic drawing tools provide. Players gain nothing from it directly, since it adds no items or blocks of its own.

Questions

Does Brapi need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside Brapi on Fabric for 1.21.11.

Does Brapi have to be installed on the server?

No. Players add it to their own game, and a server needs no copy.

Which game version does Brapi support?

The mod is published for 1.21.11 only, with the latest Fabric file dated 2026-08-11 on the beta channel.

In the catalog

Brapi is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.

Similar mods

What the author says

A UI rendering library for Fabric mods. Supports rounded rectangles, text, gradients, textures, and 9-slice sprites with a simple API. With future support for SVG rasterizer, shadows, more text options, toggleable immediate mode rendering and lines. 🎨 All colors are ARGB: 0xFFFF0000 = opaque red, 0x80FF0000 = 50%…
BulbaSprout, on the Modrinth page

Official listing

Owner
BulbaSprout
Published
2026-05-15
Updated on Modrinth
2026-08-11
Facts verified
2026-10-15

Tags