Experience authentic iOS and Android interfaces built entirely with modern web technologies
IOS-and-Android-on-the-Web is a web-based simulation that lets you experience both iOS and Android interfaces directly in your browser. Built with Next.js, TypeScript, Tailwind CSS, and Framer Motion for smooth animations and interactions.
- Authentic iPhone Frame: Realistic device frame with proper proportions
- Dynamic Lock Screen: Swipe-to-unlock functionality with live time display
- Interactive Home Screen: Multi-page app grid with smooth page transitions
- Control Center: Swipe-down gesture with toggles, sliders, and music controls
- App Library: Categorized app organization with search functionality
- Dynamic Wallpapers: Multiple wallpaper themes that adapt to light/dark mode
- Realistic Apps: Fully functional Safari, Messages, Music, Photos, and more
- Gesture Support: Natural swipe gestures for navigation
- Material Design: Authentic Android styling with proper shadows and elevations
- Android Frame: Realistic device frame with power and volume buttons
- Lock Screen: Android-style lock screen with swipe-to-unlock
- Notification Panel: Pull-down notifications with quick settings toggles
- Home Screen: Multi-page layout with widgets and app shortcuts
- App Drawer: Grid-based app organization with Material Design icons
- Dynamic Wallpapers: Gradient wallpapers that sync with theme changes
- Rich Apps: Phone, Messages, Camera, Settings, Chrome, Gmail, and more
- Theme Synchronization: Seamless light/dark mode switching
- Wallpaper System: Coordinated wallpaper themes across both platforms
- Responsive Design: Works perfectly on desktop, tablet, and mobile
- Smooth Animations: 60fps animations powered by Framer Motion
- Touch Gestures: Native-feeling touch interactions and swipe gestures
- Realistic Content: Authentic app interfaces with proper layouts
- Framework: Next.js 14 with App Router
- Language: TypeScript for type safety
- Styling: Tailwind CSS for utility-first styling
- UI Components: shadcn/ui for consistent components
- Animations: Framer Motion for smooth animations
- Icons: Lucide React for consistent iconography
- Theme: next-themes for theme management
-
Clone the repository
git clone https://github.com/chukjosh/IOS-and-Android-on-the-Web.git cd IOS-and-Android-on-the-Web -
Install dependencies
npm install # or yarn install # or pnpm install
-
Run the development server
npm run dev # or yarn dev # or pnpm dev
-
Open your browser Navigate to http://localhost:3000 to see the application.
βββ app/ # Next.js App Router pages
β βββ android/ # Android interface page
β βββ ios/ # iOS interface page
β βββ page.tsx # Home page
βββ components/ # React components
β βββ android/ # Android-specific components
β βββ control-center/ # iOS Control Center modules
β βββ messages/ # Messages app components
β βββ music/ # Music app components
β βββ phone/ # Phone app components
β βββ safari/ # Safari browser components
β βββ ui/ # Shared UI components
βββ lib/ # Utility functions and state management
β βββ android-app-state.tsx
β βββ app-state.tsx
β βββ wallpaper-state.tsx
β βββ utils.ts
βββ public/ # Static assets and icons
IPhoneFrame: Realistic iPhone device frameLockScreen: iOS-style lock screen with time and unlockHomeScreen: App grid with page indicators and widgetsControlCenter: Swipe-down control panel with togglesAppView: Container for individual app interfaces
AndroidFrame: Material Design device frameAndroidLockScreen: Android-style lock screenAndroidHomeScreen: Home screen with widgets and appsAndroidNotificationPanel: Pull-down notification systemAndroidAppView: Container for Android app interfaces
WallpaperSwitcher: Theme-aware wallpaper selectionThemeProvider: Dark/light mode managementSwipeDetector: Touch gesture recognition
-
iOS Wallpapers: Update
lib/wallpaper-state.tsxconst wallpapers = { newTheme: { light: "url-to-light-wallpaper", dark: "url-to-dark-wallpaper" } }
-
Android Wallpapers: Update
lib/android-wallpaper-state.tsxconst wallpaperGradients = { newTheme: "linear-gradient(135deg, #color1 0%, #color2 100%)" }
- Create a new component in the appropriate platform folder
- Add the app to the app state management
- Include the app icon and metadata
- Register the app in the home screen grid
- β Chrome 90+
- β Firefox 88+
- β Safari 14+
- β Edge 90+
- β Mobile browsers (iOS Safari, Chrome Mobile)
The application is fully responsive and provides an authentic mobile experience:
- Touch Gestures: Native swipe and tap interactions
- Viewport Optimization: Proper scaling on mobile devices
- Performance: Optimized animations for mobile hardware
- PWA Ready: Can be installed as a Progressive Web App
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Apple for iOS design inspiration
- Google for Material Design principles
- Vercel for seamless deployment
- shadcn/ui for beautiful UI components
- GitHub: @chukjosh
- Project Link: https://github.com/chukjosh/IOS-and-Android-on-the-Web
- Live Demo: https://iosandroidweb.vercel.app
β Star this repo if you found it helpful!