Skip to Content
UI DocsOverview

OneJS Game UIs is a growing set of ready-to-use UI components built for devs who want clean, fast, and tweakable UIs without reinventing the wheel. Whether you’re prototyping or shipping, it’ll definitely save you a ton of time.

Getting Started

All the Game UI code comes bundled as a premade-uis.tgz file in your OneJS Asset Store package. You don’t need to unpack it manually. Just make sure it’s somewhere under your Unity project’s Assets/ folder.

To drop all the components into your project, run the following from your {WorkingDir}:

npx oj add all

This dumps everything into {WorkingDir}/comps/. Similar vibe to shadcn: local files, no node_modules, fully editable, and version-controllable.

CLI Basics

  • oj list   show every component in the archive
  • oj add <name … | all>   copy chosen comps into ./comps
  • oj doctor   confirm Assets/ and the tarball are in place

Handy flags: -y/--yes to overwrite silently, --dry to preview without writing.

Need more? npx oj --help prints the full cheat-sheet.