DocumentationGetting Started

Getting Started

Installation

No installation required. Use directly with npx:

npx expo-app-ui <command>

Global Installation

Install globally for easier access:

npm install -g expo-app-ui
expo-app-ui <command>

Quick Start

Add a component to your project:

npx expo-app-ui add custom-text

Path Aliases

Make sure your project has path aliases configured.

tsconfig.json

{
  "compilerOptions": {
    "paths": {
      "@/*": ["./*"]
    }
  }
}

babel.config.js

module.exports = function(api) {
  api.cache(true);
  return {
    presets: ['babel-preset-expo'],
    plugins: [
      [
        'module-resolver',
        {
          root: ['./'],
          alias: {
            '@': './',
          },
        },
      ],
    ],
  };
};

Auto-Dependency Detection

The CLI automatically detects when a component requires:

  • normalizeSize helper
  • theme constants
  • Related components or contexts

These dependencies are automatically added to your project if they don’t already exist.

Next Steps

Made by Krish Panchani X Thunder Develops • Built with ❤️ for the Expo React Native community
📦 View on npm