Skip to content

chukjosh/IOS-and-Android-on-the-Web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“± iOS & Android on the Web

Deployed on Vercel Built with Next.js TypeScript Tailwind CSS

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.

🌟 Features

πŸ“± iOS Interface

  • 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

πŸ€– Android Interface

  • 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

🎨 Shared Features

  • 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

πŸš€ Live Demo

View Live Demo β†’

πŸ› οΈ Tech Stack

πŸ“¦ Installation

  1. Clone the repository

    git clone https://github.com/chukjosh/IOS-and-Android-on-the-Web.git
    cd IOS-and-Android-on-the-Web
  2. Install dependencies

    npm install
    # or
    yarn install
    # or
    pnpm install
  3. Run the development server

    npm run dev
    # or
    yarn dev
    # or
    pnpm dev
  4. Open your browser Navigate to http://localhost:3000 to see the application.

πŸ“ Project Structure

β”œβ”€β”€ 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

🎯 Key Components

iOS Components

  • IPhoneFrame: Realistic iPhone device frame
  • LockScreen: iOS-style lock screen with time and unlock
  • HomeScreen: App grid with page indicators and widgets
  • ControlCenter: Swipe-down control panel with toggles
  • AppView: Container for individual app interfaces

Android Components

  • AndroidFrame: Material Design device frame
  • AndroidLockScreen: Android-style lock screen
  • AndroidHomeScreen: Home screen with widgets and apps
  • AndroidNotificationPanel: Pull-down notification system
  • AndroidAppView: Container for Android app interfaces

Shared Components

  • WallpaperSwitcher: Theme-aware wallpaper selection
  • ThemeProvider: Dark/light mode management
  • SwipeDetector: Touch gesture recognition

🎨 Customization

Adding New Wallpapers

  1. iOS Wallpapers: Update lib/wallpaper-state.tsx

    const wallpapers = {
      newTheme: {
        light: "url-to-light-wallpaper",
        dark: "url-to-dark-wallpaper"
      }
    }
  2. Android Wallpapers: Update lib/android-wallpaper-state.tsx

    const wallpaperGradients = {
      newTheme: "linear-gradient(135deg, #color1 0%, #color2 100%)"
    }

Creating New Apps

  1. Create a new component in the appropriate platform folder
  2. Add the app to the app state management
  3. Include the app icon and metadata
  4. Register the app in the home screen grid

🌐 Browser Support

  • βœ… Chrome 90+
  • βœ… Firefox 88+
  • βœ… Safari 14+
  • βœ… Edge 90+
  • βœ… Mobile browsers (iOS Safari, Chrome Mobile)

πŸ“± Mobile Experience

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

🀝 Contributing

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.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Apple for iOS design inspiration
  • Google for Material Design principles
  • Vercel for seamless deployment
  • shadcn/ui for beautiful UI components

πŸ“ž Contact


⭐ Star this repo if you found it helpful!

About

IOS-and-Android-on-the-Web is a web-based simulation that lets you experience both iOS and Android interfaces directly in your browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors