UIR

uir.json

Configuration for your project.

uir.json is created by init and read by add. It only matters when you use the CLI; you don't need it to copy components by hand.

Example

uir.json
{
  "$schema": "https://ui.codewithrabby.com/schema.json",
  "framework": "expo",
  "componentsDir": "src/components/uir",
  "alias": "@/components/uir"
}

Fields

$schemaPoints to the JSON schema, for autocomplete in your editor.
frameworkThe app type. Currently always "expo".
componentsDirFolder that add copies components into, relative to the project root.
aliasImport path for that folder, used in the import hint after add.