A lightweight React component that renders a pixel-perfect Minecraft inventory UI.
- 🎮 Authentic look - Faithful recreation of Minecraft's inventory design
- 📦 36-slot inventory - Includes hotbar (9 slots) and main inventory (27 slots)
- 🔢 Stack counts - Displays item quantities with Minecraft-style text shadows
- 📐 Scalable - Easily resize the inventory with the
scaleprop - 🖼️ Built-in item icons - Comes with common item sprites out of the box
Perfect for Minecraft server dashboards, fan projects, or any application that needs that classic blocky aesthetic.
We’re currently targeting v1.8, so it may not have the shape you expect.
Support for newer versions is planned on the roadmap.
Not yet—we’re gradually adding support for more items.
At the moment, we only support item types from v1.8.
Our roadmap includes support for multiple item type versions.
For details, please refer to src/lib/itemIcon.ts.
Yes—it's on the roadmap.
Yes, implementation is planned.
Add this pacakge to your project:
# choose your package manager
# with npm
$ npm i minecraft-inventory-ui
# with Yarn
$ yarn add minecraft-inventory-ui
# with pnpm
$ pnpm add minecraft-inventory-ui
# with Bun
$ bun add minecraft-inventory-uiInsert minecraft-inventory-ui Component to your code:
import { Inventory, type InventoryItem } from "minecraft-inventory-ui";
const SampleComponent = () => {
let inventoryItems: (InventoryItem | null)[] = [];
return (
<>
<Inventory scale={1} items={inventoryItems}>
</>
)
}Work in Progress...
There are several ways to contact:
- Discord (Contact at
#supportchannel) - X (@BuriNetwork)
this project is MIT licensed.
