A stunning, high-fidelity TikTok frontend clone built completely from scratch using Expo (v56), React Native, and NativeWind (Tailwind CSS). This project focuses on delivering a deeply immersive UI/UX that mirrors the real application, packed with smooth animations and complex interactions.
- Endless Vertical Feed: A fully functional, infinitely scrolling
FlatListwith precise snapping physics and autoplaying videos. - Global Authentication Wall: A mock
Zustandglobal state that locks interaction (likes, comments, following) behind a beautiful Auth Modal. - Video Studio (Camera): A mock video creation workflow with draggable text stickers, simulated filters, and a trending sound selection modal.
- Immersive Livestreams: A mocked Live Broadcasting environment featuring an infinitely looping background video, auto-scrolling chat, and Reanimated flying gift/heart animations.
- Advanced Search Engine: A Discover tab equipped with an interactive tabbed layout (Top, Users, Videos).
- Direct Messaging: An inbox and messaging UI for chatting.
- Deep Linking Navigation: Built with Expo Router for robust file-based routing.
- Framework: Expo (SDK 56) & React Native
- Navigation: Expo Router (v3)
- Styling: NativeWind (Tailwind CSS for React Native)
- State Management: Zustand
- Media Playback:
expo-video - Animations:
react-native-reanimated&expo-haptics - Icons:
lucide-react-native
This application is highly optimized for the Web browser but is perfectly primed for native iOS/Android compilation.
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository:
git clone <your-github-url> cd tiktok-clone
-
Install dependencies:
npm install
-
Start the development server:
npx expo start
-
Run on Web: Press
win the terminal to open the app in your browser. (Note: Because this is a mobile clone, be sure to resize your browser window to a tall, narrow mobile aspect ratio, or use Chrome DevTools' Device Toolbar to simulate a phone!)
/src/app- Expo Router file-based navigation (Tabs, Modals, Dynamic Routes)./src/components- Reusable UI components (VideoPost, AuthModal, LiveStreamModal)./src/store- Global state management using Zustand (useVideoStore.ts)./assets- Local video and image assets.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is open source and available under the MIT License.