Configuration

// textui.config.json
{
  "componentsDir": "src/ui",
  "templatesDir": "src/screens",
  "alias": "@textui/core",      // rewritten into every copied file
  "theme": "workbench",
  "shell": "workbench",
  "registries": { "internal": "../design-system/registry" }
}

The alias is what makes the copy fit your project: a file copied into a repo that imports the runtime as ~/textui gets that import, not @textui/core.


Back to top

MIT licensed. Pre-1.0 - the surface is still moving.