CReact guides#
Reference for CReact UI in mods. Ship panel.bundle.js for menu panels (UI.show) and/or popup.bundle.js for in-game overlays (UI.showPopup), built from TSX with Bun.
Sections#
- Build a CReact mod, Bun install, compile step, counter example
- CReact guide, primitives, flex layout, styling, events
- User Interfaces with CReact, layout, Luau wiring, Cat Companion example
Related#
- Courage.UI,
show,showPopup,hide,hidePopup,setState,getState - Courage.Layout, BLO screens as panel textures
- Working with events,
Petrichor.Eventsand panelemit - TypeScript scripting, ts-luau entry scripts
- Prerequisites, Bun notes