A production-ready React Native starter template with design system workflow, MCP integration, and automation tools. Built for rapid development with Claude Code and Cursor.
- π¨ Design System First - Comprehensive design token system with style guide
- π€ AI-Optimized - Pre-configured Claude Code and Cursor integrations
- π± Expo Router - File-based routing with type safety
- π― TypeScript - Full type safety throughout the app
- π§ Pre-configured Tools - ESLint, Prettier, and development scripts
- π Quick Setup - Interactive setup script to get started in minutes
- π¨ Component Library - Beautiful, accessible UI components
- π¦ State Management - Zustand for simple, scalable state
- π Auth Ready - Supabase integration out of the box
- π MCP Servers - Figma MCP pre-configured for design imports
Click "Use this template" on GitHub or clone:
git clone https://github.com/[your-username]/AnythingUI my-app
cd my-appnpm run setup
# or
bun run setupThis will:
- Configure project name and metadata
- Create
.envfile - Set up initial configuration
npm install
# or
bun installnpm start- Open Claude Code in your project
- Use the
/import-designcommand - Provide Figma URL or paste screenshot
- Claude will extract design tokens and update your design system
/generate-style-guide
This creates a comprehensive style guide at /design/style-guide.md with:
- Color palette
- Typography system
- Spacing scale
- Component styles
- Shadows, animations, and more
npm run new:component
# or
/add-component (in Claude Code)npm run new:screen
# or
/add-screen (in Claude Code)AnythingUI/
βββ app/ # Expo Router app directory
β βββ (tabs)/ # Tab navigator screens
β β βββ index.tsx # Home screen
β β βββ explore.tsx # Explore screen
β β βββ profile.tsx # Profile screen
β βββ _layout.tsx # Root layout
β βββ modal.tsx # Example modal
βββ components/
β βββ ui/ # Reusable UI components
β βββ layout/ # Layout components
β βββ features/ # Feature-specific components
βββ constants/ # Design tokens
β βββ colors.ts
β βββ typography.ts
β βββ spacing.ts
βββ contexts/ # React contexts
βββ design/ # Design system documentation
β βββ style-guide.md
β βββ design-tokens.json
β βββ design-references.md
βββ lib/ # Utilities and API clients
βββ types/ # TypeScript types
βββ scripts/ # Automation scripts
βββ .claude/ # Claude Code configuration
βββ commands/ # Custom slash commands
βββ claude.json # MCP server config
The template includes a complete design system with:
- Design Tokens - JSON-based tokens in
/design/design-tokens.json - Platform Files - Auto-generated TypeScript constants in
/constants/ - Style Guide - Comprehensive documentation in
/design/style-guide.md - Component Library - Pre-built components following the design system
import { colors, typography, spacing } from '@/constants';
const styles = StyleSheet.create({
container: {
backgroundColor: colors.background,
padding: spacing.md,
},
title: {
fontSize: typography.fontSize.h1,
fontWeight: typography.fontWeight.bold,
color: colors.text.primary,
},
});/generate-style-guide- Create comprehensive style guide/import-design- Import design from Figma or screenshot/add-component- Generate new UI component/add-screen- Generate new screen
Pre-configured MCP servers:
- Figma MCP - Extract designs and design tokens from Figma
- More servers can be added in
.claude/claude.json
npm start # Start Expo development server
npm run android # Run on Android
npm run ios # Run on iOS
npm run web # Run on web
npm run setup # Interactive project setup
npm run new:component # Generate new component
npm run new:screen # Generate new screen
npm run lint # Run ESLint
npm run lint:fix # Fix ESLint errors
npm run format # Format code with Prettier
npm run type-check # TypeScript type checking- Framework: Expo ~52.0.0
- Routing: Expo Router ~4.0.0
- Language: TypeScript ~5.3.3
- State: Zustand ^5.0.2
- Data Fetching: TanStack Query ^5.28.4
- UI Library: React Native Paper ^5.12.5
- Backend: Supabase ^2.39.7
- Icons: Lucide React Native ^0.447.0
- Validation: Zod ^3.22.4
Copy .env.example to .env and fill in your values:
EXPO_PUBLIC_SUPABASE_URL=your-supabase-url
EXPO_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
FIGMA_ACCESS_TOKEN=your-figma-tokenMIT License - feel free to use this template for any project!
This is a template repository. Feel free to fork and customize for your needs!
Built with β€οΈ for rapid React Native development