Skip to content

saleh2001k/native-tide-starter-kit

Repository files navigation

Native Tide Starter Kit

Native Tide Starter Kit

A CLI tool to quickly scaffold a new React Native project using the Native Tide starter template.

Discord

Have questions, want to contribute, or need help? Join our Discord community!

⚠️ Early Version Warning: This package is still in a very early version and is not stable. Use at your own risk. Some features may be incomplete or subject to change.

Demo

RTL Support Without App Refresh

Watch how the app seamlessly switches between RTL (Right-to-Left) and LTR (Left-to-Right) layouts without requiring an app refresh:

The demo showcases the dynamic RTL/LTR language switching feature that updates the entire UI layout instantly.

Installation

npm install -g native-tide-starter-kit

Or use with npx (no installation needed):

npx native-tide-starter-kit

Usage

Run the CLI command:

native-tide-starter-kit

Or use the shorter alias:

create-native-tide

The CLI will prompt you for:

  • App Name: The name of your application
  • Styling Solution: Choose between Unistyles or NativeWind
  • Project Directory: Where to create the project (defaults to the slugified app name)

What Gets Created

The CLI creates a complete React Native project with:

  • ✅ Expo Router setup with file-based routing
  • ✅ TypeScript configuration
  • ✅ Internationalization (i18n) setup
  • ✅ Zustand for state management
  • ✅ ESLint and Prettier configuration
  • ✅ Custom hooks and utilities
  • ✅ Theme system with light/dark/system modes
  • RTL (Right-to-Left) language support - Switch languages dynamically without app refresh (see demo above)
  • Styling Solution: Choose between Unistyles or NativeWind
    • Unistyles: Runtime theming with TypeScript support
    • NativeWind: Tailwind CSS for React Native

Next Steps

After creating your project:

cd your-project-name
yarn install
yarn start

Features

  • Dynamic Theme System: 8 beautiful themes to choose from
  • Type-Safe: Fully typed theme definitions
  • Styling Options: Choose between Unistyles or NativeWind
    • Unistyles: Runtime theming, breakpoints, and adaptive themes
    • NativeWind: Tailwind CSS utility classes for React Native
  • Internationalization: Multi-language support with i18n
  • Navigation: Expo Router for file-based routing
  • State Management: Zustand store setup
  • Linting: ESLint and Prettier setup

Local Development & Testing

To test the CLI locally before publishing:

  1. Install dependencies:

    yarn install
  2. Link the package locally (for global testing):

    yarn link

    Then you can use native-tide-starter-kit or create-native-tide commands globally.

  3. Or test directly with node:

    node bin/cli.js
  4. Or use npm link (alternative to yarn link):

    npm link
  5. Test in a temporary directory:

    cd /tmp
    mkdir test-project
    cd test-project
    native-tide-starter-kit
    # or
    create-native-tide
  6. Unlink when done testing:

    yarn unlink
    # or
    npm unlink -g native-tide-starter-kit

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors