
Modrinth · Minecraft mod
Graphene
Graphene is a client-side UI library for Minecraft (Fabric) that lets mod developers build interfaces with web technologies.
Quick answer
Which Graphene release should I use?
Graphene 2.4.0 targets 26.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.
Where it goes
Is Graphene required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does Graphene 2.4.0 need?
2.4.0. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Graphene without breaking your instance.
Built for Graphene 2.4.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.4.0. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.4.0. It opens that exact file at the source.
About this project
What does Graphene add?
Graphene
Graphene is a client-side UI library for Minecraft that lets mod developers build interfaces with web technologies.
It embeds Chromium through JCEF, so you can render HTML/CSS/JavaScript UIs in-game while keeping a clean Java API for
mod integration.

What is Graphene?
Graphene bridges Minecraft modding and modern web UI development. Instead of building every screen with Minecraft's
rendering primitives, you can create interfaces with HTML, CSS, and JavaScript, then integrate them with your mod
through a Java API.
Graphene provides:
- interactive Chromium views that can be embedded in Minecraft screens;
- packaged asset URLs and an optional development HTTP server;
- two-way Java/JavaScript communication through an asynchronous bridge;
- browser navigation, input, downloads, dialogs, context menus, and lifecycle controls;
- off-screen browser sessions and surfaces for custom rendering integrations;
- Chromium DevTools support for inspecting and debugging pages.
Check compatibility and installation for supported Minecraft and
Loader versions.
Requirements
- Java:
25for Minecraft 26.2 and 26.1.2,21for Minecraft 1.21.11 - GPU:
NVIDIA GeForce GT 720or better - For macOS users: macOS 12 (Monterey) or later
Supported Platforms
- macOS:
arm64,amd64 - Linux:
arm64,amd64 - Windows:
amd64,arm64
Tested Platforms
- Windows 11 with
AZERTYandQWERTYkeyboard layouts - Linux (Wayland) with
AZERTYandQWERTYkeyboard layouts - macOS 26 with
QWERTYkeyboard layout
Installation
Graphene is published on Maven Central. Find the latest version on GitHub Releases,
Modrinth, or the Minecraft-version-specific Maven Central artifacts, then add
the artifact matching your target Minecraft version as a mod dependency:
repositories {
mavenCentral()
}
dependencies {
modImplementation("io.github.trethore:graphene-ui-26.2:<version>")
// Or for Minecraft 26.1.2:
// modImplementation("io.github.trethore:graphene-ui-26.1.2:<version>")
// Or for Minecraft 1.21.11:
// modImplementation("io.github.trethore:graphene-ui-1.21.11:<version>")
}
Declare Graphene as a runtime dependency in fabric.mod.json:
{
"depends": {
"grapheneui": ">=<version>"
}
}
Register your mod from its client initializer and retain the returned context:
import io.github.trethore.graphene.api.Graphene;
import io.github.trethore.graphene.api.GrapheneContext;
import net.fabricmc.api.ClientModInitializer;
public final class ExampleModClient implements ClientModInitializer {
private static GrapheneContext graphene;
@Override
public void onInitializeClient() {
graphene = Graphene.register(ExampleModClient.class);
}
public static GrapheneContext graphene() {
return graphene;
}
}
See those documentation pages for more details:
- compatibility and installation for compatibility details
- first web-screen tutorial for a complete example
Contributing
Contributions are welcome!
- Read the contributor guide in CONTRIBUTING.md.
- Report bugs or request features in Issues.
- Open changes through Pull Requests.
- All pull requests must be tested before being submitted.
Documentation
Start HERE!
License
Licensed under the MIT License by Titouan Réthoré.
Project description from Modrinth.
Pick your setup
Graphene by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
1 loader build26.1.2
1 loader build1.21.11
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Graphene versions and loaders
2.4.0
graphene-2.4.0-fabric-26.2.jar
30 Aug 2026
2.4.0
graphene-2.4.0-fabric-26.1.2.jar
30 Aug 2026
2.4.0
graphene-2.4.0-fabric-1.21.11.jar
30 Aug 2026
2.3.0
graphene-2.3.0-fabric-26.1.2.jar
30 Aug 2026
2.3.0
graphene-2.3.0-fabric-26.2.jar
30 Aug 2026
2.3.0
graphene-2.3.0-fabric-1.21.11.jar
30 Aug 2026
2.2.0
graphene-2.2.0-fabric-1.21.11.jar
28 Aug 2026
2.2.0
graphene-2.2.0-fabric-26.2.jar
28 Aug 2026
2.1.0
graphene-2.1.0-fabric-26.2.jar
23 Jul 2026
2.1.0
graphene-2.1.0-fabric-1.21.11.jar
23 Jul 2026
2.0.0
graphene-fabric-1.21.11-2.0.0.jar
19 Jul 2026
1.7.2
graphene-ui-1.7.2.jar
10 Apr 2026
Looking for an older file? The official Modrinth project page is in Resources.